User Tools

Site Tools


syntax:functions:xmlvalue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
syntax:functions:xmlvalue [2019/10/30 20:08] – created dmitrysyntax:functions:xmlvalue [2019/10/30 20:11] dmitry
Line 3: Line 3:
 Extracts a single value or an XML node from a node specified by [[https://en.wikipedia.org/wiki/XPath|XPath]].  Extracts a single value or an XML node from a node specified by [[https://en.wikipedia.org/wiki/XPath|XPath]]. 
  
-Note that EasyMorh is using a simplified version or XPath. Also namespaces are not supported.+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:isxml]]
 +  * [[syntax:functions:jsonvalue]]
syntax/functions/xmlvalue.txt · Last modified: 2021/09/18 21:14 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki