xpath-function substring-before

2008-06-27 Thread Johannes Hoechstaedter
Hi everybody, I found out, that fn:substring('astt', 2) is working but fn:substring-before('astt', 't') not (NoSuchMethodException) I am using saxon and xmlns:fn=http://www.w3.org/2005/xpath-functions;. Is this an cocoon issue? cheers Johannes

Re: xpath-function substring-before

2008-06-27 Thread Barbara Slupik
I do xsl:value-of select=substring-before('astt','tt')/ and this works fine. Barbara On 27 Jun, 2008, at 10:48 am, Johannes Hoechstaedter wrote: Hi everybody, I found out, that fn:substring('astt', 2) is working but fn:substring-before('astt', 't') not (NoSuchMethodException) I am using

Re: xpath-function substring-before

2008-06-27 Thread Johannes Hoechstaedter
Do you use saxon? I doesn't work for me. Barbara Slupik schrieb: I do xsl:value-of select=substring-before('astt','tt')/ and this works fine. Barbara On 27 Jun, 2008, at 10:48 am, Johannes Hoechstaedter wrote: Hi everybody, I found out, that fn:substring('astt', 2) is working but

Re: xpath-function substring-before

2008-06-27 Thread Barbara Slupik
No, xerces. Barbara On 27 Jun, 2008, at 11:54 am, Johannes Hoechstaedter wrote: Do you use saxon? I doesn't work for me. Barbara Slupik schrieb: I do xsl:value-of select=substring-before('astt','tt')/ and this works fine. Barbara On 27 Jun, 2008, at 10:48 am, Johannes Hoechstaedter

Re: xpath-function substring-before

2008-06-27 Thread Johannes Hoechstaedter
ok, for completeness. It works for me, too, now. Without saxon. cheers Barbara Slupik schrieb: No, xerces. Barbara On 27 Jun, 2008, at 11:54 am, Johannes Hoechstaedter wrote: Do you use saxon? I doesn't work for me. Barbara Slupik schrieb: I do xsl:value-of