Subject: select attribute in apply-templates From: "Carlos Sanchez" <carlos@xxxxxxxx> Date: Fri, 5 May 2000 12:43:11 -0500 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: message and replies out of orde, sara . mitchell | Thread | Re: select attribute in apply-templ, Mike Brown |
RE: message and replies out of orde, sara . mitchell | Date | XPath, Fermoyle, Garrett |
Month |