Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
I think taking the xslt out of a variable and into an external file solves that error message, although things aren't currently working as expected.. I'll keep debugging return xslt:transform($sections, '/mnt/xslt_volume/i4EnrichV7/analysis/xslt/AggregateAndCountSubsectionTitles.xsl') Thanks for

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
Right, thanks Okay it now returns that it is using Saxon HE as the xslt processor however I still get the error Unknown function 'current-grouping-key(...)'. On Thu, Sep 13, 2012 at 10:08 AM, Imsieke, Gerrit, le-tex wrote: > Use a colon as path separator when in Unixland -- - Alex G. Mui

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Imsieke, Gerrit, le-tex
Use a colon as path separator when in Unixland On 2012-09-13 16:06, Alex Muir wrote: I'm trying that but getting command not found [ec2-user@soda libs]$ ls BaseX73.jar saxon9he.jar [ec2-user@soda libs]$ java -cp saxon9he.jar;BaseX73.jar org.basex.BaseXGUI ... bash: BaseX73.jar: command not

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
I'm trying that but getting command not found [ec2-user@soda libs]$ ls BaseX73.jar saxon9he.jar [ec2-user@soda libs]$ java -cp saxon9he.jar;BaseX73.jar org.basex.BaseXGUI ... bash: BaseX73.jar: command not found... On Thu, Sep 13, 2012 at 9:57 AM, Christian Grün wrote: > java -cp saxon9he.

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Imsieke, Gerrit, le-tex
Aren’t the -jar and -cp options mututally exclusive? That is, if you use -jar, -cp is being ignored? Maybe you should put all jars (BaseX, Saxon, ...) in the -cp and then invoke org.basex.BaseXGUI or the like. Maybe adapt the startup scripts to include the Saxon jar in the cp. Gerrit On 2012

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Christian Grün
Thanks. What happens if you specify BaseX73.jar in the classpath? java -cp saxon9he.jar;BaseX73.jar org.basex.BaseXGUI ___ On Thu, Sep 13, 2012 at 3:53 PM, Alex Muir wrote: > Java is being used > > On Thu, Sep 13, 2012 at 9:51 AM, Christian Grün > wrote: >> Dear Alex, >

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
Java is being used On Thu, Sep 13, 2012 at 9:51 AM, Christian Grün wrote: > Dear Alex, > > as Max stated, it would be interesting to know what xslt:processor() > gives you as result. This way, we will know if Saxon or Java is used > as processor. > > Thanks, > Christian >

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Christian Grün
Dear Alex, as Max stated, it would be interesting to know what xslt:processor() gives you as result. This way, we will know if Saxon or Java is used as processor. Thanks, Christian ___ On Thu, Sep 13, 2012 at 3:47 PM, Alex Muir wrote: > As I said in the first line of my

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
As I said in the first line of my post I'm looking at that module page. The page states that "XSLT 2.0 is used instead if Version 9.x of the Saxon XSLT Processor (saxon9he.jar, saxon9pe.jar, saxon9ee.jar) is found in the classpath." I'm launching basex as follows java -classpath /mnt/xslt_volume

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Maximilian Gärber
Hi, did you check http://docs.basex.org/wiki/XSLT_Module ? using xslt:processor() you can output if you're really using Saxon. Regards, Max 2012/9/13 Alex Muir : > Hi, > > Following the http://docs.basex.org/wiki/XSLT_Module > > I'm launching basex as follows > > java -classpath > /mnt/xslt_v

[basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
Hi, Following the http://docs.basex.org/wiki/XSLT_Module I'm launching basex as follows java -classpath /mnt/xslt_volume/i4EnrichV7/resources/libs/saxon9he.jar -jar /mnt/xslt_volume/i4EnrichV7/resources/libs/BaseX73.jar I get an error thought when executing which makes me think I have not convi