hi!
My problem is replace nodes of a document using XPath functions which are defined into Tamino XQuery.
For example, this document:
value 1
value 2
value 3
and I want to replace the “C” element which parent is the last “B” element.
If I use:
lpNewNode = LoadXml(“ new value ”)
InoReplaceChild(“/A/@2”, “A/B[3]/C”, lpNewNode);
it works well, but if I use:
lpNewNode = LoadXml(“ new value ”)
InoReplaceChild(“/A/@2”, “A/B[last()]/C”, lpNewNode);
it doesn’t, and not error code is available.
why cannot I use “last()” function into ActiveX ?
[This message was edited by Josep on 22 Jan 2003 at 17:17.]
#API-Management#webMethods#webMethods-Tamino-XML-Server-APIs