Skip to Content
avatar image
Former Member

Error in XPath 2.0 expression

Hi everybody,

I am using XMLSPY to test a XPath expression:

<xsl:value-of select="fn:tokenize('a b c', '\s')"></xsl:value-of>

But I get the error:

"This file is not valid:

Error in XPath 2.0 expression"

Any ideas?

Thanks, regards

Mario

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 13, 2007 at 05:07 AM

    http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm

    /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object

    /people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

    Using substring in the XPATH expression for Receiver Determination

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 13, 2007 at 05:51 AM

    Thank you all.

    The error was a missing namespace:

    xmlns:fn="http://www.w3.org/2004/07/xpath-functions"

    Add comment
    10|10000 characters needed characters exceeded