This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT/XPath help to resolve definition references in a WSDL XML file
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 4 Sep 2002 16:00:05 +0100
- Subject: Re: [xsl] XSLT/XPath help to resolve definition references in a WSDL XML file
- References: <A97C7354105F2B4C82C705D351F2BF47DCA3E8@asc-msg-01>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I want to be able to select all the B element which are under the A elements
> referenced by the C element (the A elements for which a C/@aRef attribute
> value, minus the prefix, is equal to the A/@name attribute).
If your current node is a C then don't you just want
select="../A[@name=substring-after(current()/@aRef,':')]/B"
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list