This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]