cancel
Showing results for 
Search instead for 
Did you mean: 

Error in XPath 2.0 expression

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you all.

The error was a missing namespace:

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Sridhar

I get the error in XMLSPY!

Thank you for the links but they do not help.

regards, Mario

Former Member
0 Kudos

check the error at the bottom clickon the error which is in red it will take u to error area in XML spy of our data.

Former Member
0 Kudos

Hi Sreeram ,

this is already done. The error is as I told:

"Error in XPath 2.0 expression"

Regards Mario

Former Member
0 Kudos

ur Xpath as an error where is the condition for this Xpath