Subject: Re: [xsl] Problem with obtaining distinct values from a variable containg a nodeset From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 29 Nov 2005 17:42:49 GMT |
> I get the required list output, but still containing the duplicates. Are the MDBServiceDesc elements siblings (In the original document?) if not, they presumavly are not siblings in $services either (depending on whether System.Xml.XPath.XPathNodeIterator is making copies of teh selected nodes, or just indexing into the existing tree. try adding xsl:value-of select="generate-id(..)" somewhere in that for-each loop (just as a debugging tool, if you get different ids they elements have differnt parents so are not siblings David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problem with obtaining di, Ragulf Pickaxe | Thread | Re: [xsl] Problem with obtaining di, Ian E. Powell |
Re: [xsl] Problem with obtaining di, Ragulf Pickaxe | Date | Re: [xsl] IDREFS and key(), Dan Vint |
Month |