Re: Output is incorrect...

Subject: Re: Output is incorrect...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 2 Oct 2000 12:13:43 GMT
> Match patterns used in xsl:template are not allowed to contain variable
> references, so a conformant processor should reject this. 

oops, should have spotted that in my reply:-)

Change
<xsl:template match="cat[@id=$id]">

to
<xsl:template match="cat">
<xsl:if test="@id=$id">
....

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread