|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] select attribute in apply-templates
Hi,
I've seen some examples in this mailing list such as
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="root">
<xsl:variable name="y">
<xsl:for-each select="*">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
<xsl:apply-templates select="$y/*"/>
</xsl:template>
....
however, whenever I run this in XALAN it throws a SAX exception saying that
"cannot convert #UNKNOWN to a node list". Do this kind of style sheets work
with XT or SAXON only? can any anybody tell me what's happening?
Thanks a lot,
Carlos Sanchez
http://www.riskmetrics.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








