W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2002

RE: Need help with an XPath expression in XSLT

From: Brenda Bell <bbell@juicesoftware.com>
Date: Wed, 10 Apr 2002 13:02:22 -0400
Message-ID: <846B0B02E1B78B49B678EDCC00EB2962FB4D23@mail01.ent.juice.com>
To: Brenda Bell <bbell@juicesoftware.com>, xmlschema-dev@w3.org
Disregard... I found it myself!!!

-----Original Message-----
From: Brenda Bell [mailto:bbell@juicesoftware.com]
Sent: Wednesday, April 10, 2002 12:56 PM
To: xmlschema-dev@w3.org
Subject: Need help with an XPath expression in XSLT

I have a document with the following structure: 


I have an XSLT transformation where I need to add an attribute to any given
element <D> if the value of <B> is 1 where <D> and <B> have the same
ancestor <A>.

I'm having trouble getting the right expression on my <xsl:if> element to
test the value of the right <B> element given a context node of <D>.

Brenda Bell 
Sr. Software Architect 
Juice Software, Inc. 
Phone: 603.428.3994 
Cell: 603.494.8206 
Fax: 603.428.8713 
Email: bbell@juicesoftware.com 
Received on Wednesday, 10 April 2002 13:02:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:56 UTC