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]

Re: Output is incorrect...



> 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

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