|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Figuring out for-group-by
I am getting a little closer. I have managed to pull out more-or-less
what I am after with
<xsl:value-of select="current-group()/key[string() = 'Kind']/following-sibling::string[1][string() = 'Apple Lossless audio file']/preceding-sibling::key[string() = 'Track ID']/following-sibling::integer[1]"/> but I am concerned that the various keys may not always be in this order so the "preceding-sibling" search may not work. I can see that I can use for-each with current-group to iterate through the sets of keys so that may be more efficient than chasing up and down the tree. Barry Lay wrote: I am running into trouble doing a transform with for-group-by. I am currently running Saxon 7.9.1 and am in the process of upgrading to 8.0. I thought I would post what I am up to in case my approach is wrong.
|
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
|

Cart








