Changes
Created page with "The ReadXPathDocument Activity loads an XML File into the workflow for further processing using XPath expressions. It is the root activity for an import of XML data into {{UBI..."
The ReadXPathDocument Activity loads an XML File into the workflow for further processing using XPath expressions. It is the root activity for an import of XML data into {{UBIK}}.
{{ActivityInfoBox
| title = Read XPath Document
| name = ReadXPathDocumnent
| internalname = ReadXPathDocumnent
| image =
| imagecaption = Activity ReadXPathDocumnent
| purpose = Load an XML file as XPath document
| category = Data Exchange
| returns = True if successful
| version = 2.1.15+
}}
==Argument==
{| class="wikitable sortable" | width = "50%"
|-
! Arguments!! Type !! Direction !! Purpose
|- align="left"
| FileName|| String || In || The full path to an accessible XML file
|- align="left"
| XPathDocument || XPathDocument|| Out || The loaded file as XPath document, null if loading failed
|- align="left"
| Result|| Boolean || Out || Returns True on success, false on error
|}
==Usage==
This activity is typically used to start the import of XML data by providing the loaded document to subsequent [[Activity GetXPathResult|GetXPathResult]] activities.
==Example==
Load the XML file C:\temp\test.xml into the workflow:
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| FileName|| <source lang = "vbnet">"C:\temp\test.xml"</source>
|}
==See also==
* [[Workflow Designer]]
* [[Activity GetXPathResult]]
[[Category:Workflows]] [[Category:Activities]]
{{ActivityInfoBox
| title = Read XPath Document
| name = ReadXPathDocumnent
| internalname = ReadXPathDocumnent
| image =
| imagecaption = Activity ReadXPathDocumnent
| purpose = Load an XML file as XPath document
| category = Data Exchange
| returns = True if successful
| version = 2.1.15+
}}
==Argument==
{| class="wikitable sortable" | width = "50%"
|-
! Arguments!! Type !! Direction !! Purpose
|- align="left"
| FileName|| String || In || The full path to an accessible XML file
|- align="left"
| XPathDocument || XPathDocument|| Out || The loaded file as XPath document, null if loading failed
|- align="left"
| Result|| Boolean || Out || Returns True on success, false on error
|}
==Usage==
This activity is typically used to start the import of XML data by providing the loaded document to subsequent [[Activity GetXPathResult|GetXPathResult]] activities.
==Example==
Load the XML file C:\temp\test.xml into the workflow:
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| FileName|| <source lang = "vbnet">"C:\temp\test.xml"</source>
|}
==See also==
* [[Workflow Designer]]
* [[Activity GetXPathResult]]
[[Category:Workflows]] [[Category:Activities]]