syntax:functions:xmlvalue
This is an old revision of the document!
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.1572480663.txt.gz · Last modified: 2019/10/30 20:11 by dmitry