[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Duplicate Elimination
If the text content of the element is all you care about, you could do
something like this:
<xsl:variable name="distinctDates"> <xsl:for-each select="distinct-values(A/Date | B/Date)"> <xsl:sort/> <Date><xsl:value-of select="."/></Date> </xsl:for-each> </xsl:variable> <xsl:apply-templates select="$distinctDates/Date"/> On 14-03-12 01:34 PM, Ihe Onwuka wrote: I have Date elements coming from 2 different parents.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|