Hi Jon,
<xsl:processing-instruction name="name()">
gives me
Error at xsl:processing-instruction on line 30 of
file:/C:/DATA/ProgramInstaller
s/Saxon/saxonb8-5/stylesheet01.xsl:
XTDE0890: Processing instruction name {name()} is not a valid NCName
Transformation failed: Run-time errors were reported
<xsl:processing-instruction name="local-name()">
gives me a similar error. Thanks.
Rick
Memory is a little rusty here, but off the top of my head I think that
processing nodes in the XPath model aren't associated with a
stylesheet but do have names, so either :
<xsl:processing-instruction name="name()">
or
<xsl:processing-instruction name="local-name()">
should do the trick. Not entirely positive though, might want to
double-check the XPath spec on it.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--