If you can't use an extension function then your only way with standard
Quote:
|
XSLT is to generate a new stylesheet and then apply it.
|
I took your advice and I've written a stylesheet that generates a
stylesheet but (and correct me if I'm wrong) I was assuming that the
XSLT stylesheet that I wrote would generate the stylesheet which would
in turn generate an html document. I've written a stylsheet but all it
does it transform it into another stylesheet, it doesn't automatically
turn it into HTML. Is there some kind of instruction that you
specifically have to give in order to make the stylesheet execute
twice? Thank you.
Martin Honnen wrote:
Quote:
bignass04@gmail.com wrote:
>
> Quote:
Is there any thing I can do to have the attribute
act as an XPath expression?
| >
Not with XSLT/XPath 1.0 as standardized, you have to look at extensions
which are then not necessarily implemented by the XSLT processor you use.
EXSLT.NET (<http://www.xmlmvp.org/exslt/index.html>) has this extension
function
<http://www.xmlmvp.org/exslt/GDNDynamic-evaluate.xml>
thus if you use .NET and are able to install EXSLT.NET then you can use
that function.
>
If you can't use an extension function then your only way with standard
XSLT is to generate a new stylesheet and then apply it.
>
>
--
>
Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ |