xsl-list
[Top] [All Lists]

RE: [xsl] Complex group-by with saxon:evaluate?

2006-09-26 11:33:53
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(_at_)momail(_dot_)e4ward(_dot_)com] 
Sent: 26 September 2006 19:28
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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(_at_)momail(_dot_)e4ward(_dot_)com)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>