RE: [xsl] The comparison after inner for-each iterartion.

Subject: RE: [xsl] The comparison after inner for-each iterartion.
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 1 May 2001 13:20:44 +0100
> 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