[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: The comparison after inner for-each iterartion.

Subject: RE: The comparison after inner for-each iterartion.
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 1 May 2001 13:20:44 +0100
fo inner for each
> My xml is like this:
>
> <Xml>
> <Info>
> 	<Personnel>
> 	<Name first="Peter" last="Golf" />
> 	<Name first="Alex" last="John" />
> 	</Personnel>
>
> 	<Prof>
> 	<Name first="Mery" last="Joe" />
> 	<Name first="Andrew" last="Bush">
> 	</Prof>
> </Info>
> </Xml>

You shouldn't be using <Xml> as an element name: it's a reserved name.
>
> In my output I want to do like:
> If <Name> child from <Personnel> node has same value of '
> first' attribute
> as in Prof/Name then Personnel/Name will not be written to output.

Your spec isn't very clear. I think you're probably on the right lines: see
the grouping examples at www.jenitennison.com for detailed advice.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.