[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Find several different attribute values on many e
Yes, the error is apt because distinct-values() returns strings. I'm
assuming this is because you don't want to process elements of
duplicate string value.
If you use <xsl:for-each-group group-by="." select="........"> then you will have control at the first element of each value and so your context will allow the <xsl:apply-templates/> I hope this helps. . . . . . Ken At 2024-02-08 22:12 +0000, dvint@xxxxxxxxx wrote: I'm trying to process a collection of documents and extract the distinct-values for several attributes. My first attempt was this which is very slow -- Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/s/ | Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Streaming hands-on XSLT/XPath 2 training class @US$125 (5 hours free) | Essays (UBL, XML, etc.) http://www.linkedin.com/today/author/gkholman |
|
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
|