G
gwoodhouse
Hello again,
Sorry for yet another question so early but this XSLT stuff is pretty
hard to get a grips on.
Ok, the question is: if im transforming some XML using an XSL
stylesheet, will i be able to reference XML written into the XSL which
is calling it (for constant values) ie.
<!--Xslsheet.xsl -->
<bob key="jim">hello</bob>
<xml:value-of select="bob"> or <xml:value-of select="/bob"> or
<xml:value-of select="/bob[@key='jim']">
<!--Xslsheet.xsl -->
Will "hello" be printed in the output?
I know its a small question but its very hard to find if this is true
(when im trying it now, getting no errors but its not printing out
"hello").
Thanks for your help on this (and on my last question!)
Graeme
Sorry for yet another question so early but this XSLT stuff is pretty
hard to get a grips on.
Ok, the question is: if im transforming some XML using an XSL
stylesheet, will i be able to reference XML written into the XSL which
is calling it (for constant values) ie.
<!--Xslsheet.xsl -->
<bob key="jim">hello</bob>
<xml:value-of select="bob"> or <xml:value-of select="/bob"> or
<xml:value-of select="/bob[@key='jim']">
<!--Xslsheet.xsl -->
Will "hello" be printed in the output?
I know its a small question but its very hard to find if this is true
(when im trying it now, getting no errors but its not printing out
"hello").
Thanks for your help on this (and on my last question!)
Graeme