This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: The comparison after inner for-each iterartion.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]