|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: retrieve elements with same attribute values
Charles
That seems like a standard grouping problem with the added proviso that you only display groups that have at least three members. If that's correct and you are using XSLT version 1.0 then this link shows how to group: http://www.jenitennison.com/xslt/grouping/muenchian.html You then need to add a test, count(<group in question>) > 2 before outputting the results in the inner xsl:for-each. If you are lucky enough to be using version 2.0 then it's easier, use xsl:for-each-group to start with and then count(current-group() > 2) before outputting. Regards Joe http://joe.fawcett.name From: "Charles Ohana" <charles.ohana@xxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: retrieve elements with same attribute values Date: Mon, 7 May 2007 22:26:32 -0400
|
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
|






