Discussion Locked

xpath functions

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am getting error as "unknow method/function" when i try to access the xPath functions such as "Translate(), Starts-with()" either in javascript or vbscript.

Any one help me through this... how can i access all Xpath functions at client side/ server side functions ???

I just tried this
var xmlResult= Source.documentElement.selectSingleNode("/employees/employee[starts-with(" + sSearchNode + "," + sSearchText + ")]");

getting error as "unknown method"

1 reply

by pranav

I have never seen anything along these lines before. Mostly I implement XPATH with XSL, but how are you defining your source??

This discussion is closed to new replies.