On this page |
Parameters
Node
XML File
The filepath of the XML file that should be parsed.
Element Tag
The tag of the XML element that will be extracted.
Get Attribute
If this is enabled, the node will extract the value of the specified attribute rather than the content contained by the element.
As XPath
If this is toggled on, the Element Tag and Get Attribute parameter will be evaluated as XPath.
Result Data Tag
The name of the string attribute that gets created to hold the extracted data.
Processor
Work Item Generation
Whether this node generates static or dynamic work items. You should generally leave this set to "Automatic" unless you know the node’s work items can be computed statically, or that they need to be generated dynamically.
Dynamic
This node always creates dynamic work items: it waits until the upstream work items are known, and generates new work items from the upstream work items.
Static
This node always creates static work items: it creates the number of work items it thinks it needs based on the parameters (and any upstream static items) before the network runs.
Automatic
If the input is static (a static processor, or a partitioner with only static inputs, or a mapper), this node generates static work items, otherwise it generates dynamic work items.
Examples
example_top_xmlinput Example for Xml Input TOP node
This example demonstrates how to use the xml input node in PDG/TOPs.