Data Items (XML)

Data Items (XML)

For XML files, the syntax of Data Items can be as follows: 

Static Values

You can indicate that an Item should always evaluate to a specific value by prefixing that value with "0,"

Better Code Block

Dynamic values

You can also use the internal XPath expression evaluator to pull in data from the file dynamically.

Given the XML data: 

Better Code Block

You can pull in information by specifying the XML Node using XPath expressions. 

Better Code Block

Given the XML data: 

Better Code Block

You can pull in information by specifying the XML node using XPath expressions, separating the node from the property with the '$' character. 

Better Code Block

Given the XML data: 

Better Code Block

You can use a conditional XPath expression. 

Better Code Block

Given the XML data: 

Better Code Block

XML fields may also be concatenated by separating the values with a comma. If one or more XPath expressions need to be combined with static data, surround the static data with quotes. 



On This Page:

 

Related Articles:

 

Search related import documentation

Search