Re: Handling Duplicate Lines in XSL2003-10-29 15:09:50Jens Serna wrote: I have an XML file with multiple rows which are the same: Cust1 443 West Cust1 443 West Cust1 443 West Is there any way to suppress the second or third row if it is the > same as the previous one? Yes, either select the elements properly: <xsl:apply-templates select="CUST[not(.=previous::CUST)]"/> or look up "Muenchean Grouping" in the XSL FAQ or your XSLT book (you do have a book, do you?). J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|