|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Complex group-by with saxon:evaluate?
Firstly, if only the element name varies, then you don't need xx:evaluate(), you can use group-by="*[name()=$param]". Secondly, if you tried something and it didn't work, then we need to know exactly what you tried and exactly how it failed. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Moritz Ringler [mailto:xsl-list@xxxxxxxxxxxxxxxxx] > Sent: 26 September 2006 19:28 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Complex group-by with saxon:evaluate? > > I currently have the following section in my XSL 2.0: > <xsl:for-each-group select="bibtex:entry" > group-by="tokenize(normalize-space(*/bibtex:refgroup),' *; *')"> > <xsl:sort select="current-grouping-key()" order="ascending"/> > > This works as expected. > Now, I've tried to replace bibtex:refgroup with a stylesheet > parameter (say $groupby). I know this does not work in XSLT > without extensions. > However I could not even > get it to work using saxon:evaluate (in Saxon 8.6), though - > as far as I understand - it should be possible. Maybe someone > could help me out? > > Moritz Ringler (xsl-list@xxxxxxxxxxxxxxxxx)
|
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
|






