Consultor Eletrônico



Kbase 39337: What is the syntax for XQ_getXPath function (SonicXQ Helper Function)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Solution ID: P9337

GOAL:

What is the syntax for XQ_getXPath function (SonicXQ Helper Function)

FACT(s) (Environment):

SonicXQ 1.0

FIX:

Syntax :XQ_getXPath(xpathExpression, msgPartIndex, namespaceString)

xpathExpression : is a String representing the XPath expression which is to be resolved. This expression can optionally contain namespace prefix

msgPartIndex : is an int representing the MsgPart Index which is the Index of the part whose content is to be accessed. msgPartIndex is -1 for the XQMessage header and 0.. n for part headers

namespaceString : is a String that maps a namespacePrefix to a namespace url in the form:
namespace-prefix=namespace-url.

Example: SOAP_ENV=http://www.w3.orp/2001/06/soap-envelope