Searching for a sub-string within an XML Node

By xmlnative

XMS makes it easy to search for a sub-string within a node.

By adding asterisks around an XPath search string, XMS will look
through the entire node looking to match the sub-string.

 

For example using the XML nodes below, the XPath expression:

 /ND/Catalog/CD[Company=*'Records'*] 

will return both the first and last nodes.

 

Happy Searching!

 

 catalog-cd.JPG

Leave a Reply