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

Need help with an XPath expression in XSLT

From: Brenda Bell <bbell@juicesoftware.com>
Date: Wed, 10 Apr 2002 12:56:12 -0400
Message-ID: <846B0B02E1B78B49B678EDCC00EB2962FB4D22@mail01.ent.juice.com>
To: xmlschema-dev@w3.org
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 12:56:53 UTC

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