User Tools

Site Tools


syntax:functions:xmlvalue

xmlvalue(XML_text, XPath)

Extracts a single value or an XML node from a node specified by XPath.

Note that EasyMorh uses a simplified version or XPath.

Namespaces are not supported.

Example

Expression Result
xmlvalue(“<CUSTOMER><ID>345</ID></CUSTOMER>”, “CUSTOMER/ID”) 345
xmlvalue(“<CUSTOMER><ID>345</ID></CUSTOMER>”, “CUSTOMER”) <ID>345</ID>

See also

syntax/functions/xmlvalue.txt · Last modified: 2019/10/31 00:11 by dmitry