RE: [xsl] xPath question

Subject: RE: [xsl] xPath question
From: vsubramanian@xxxxxxxxxx
Date: Thu, 8 Jul 2004 09:06:01 -0400
Jan ,

You need to use a <xsl:for-each> and traverse through each one of the items.
'$HygHeadDT/Header/item' selects only the first item. Thats why you are
having this issue.


-----Original Message-----
From: Jan Kohnert [mailto:J.Kohnert@xxxxxxxxxxx]
Sent: Thursday, July 08, 2004 9:04 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: [xsl] xPath question

Hello List,

I have a variable:
<xsl:variable name="HygHeadDT">

At some point of XML processing, I want to check, if the element "id" a
different value as one of the strings of any $HygHeadDT/Header/item

<xsl:apply-templates select="//CHAPTER[id != $HygHeadDT/Header/item]"

But this query only seems only to work, if "id" = "BMAT".

What are I m doing wrong?

thanks !!!

Current Thread