Difference between revisions of "Activity:ReadXPathDocument (Activity)"
Line 10: | Line 10: | ||
}} | }} | ||
The ReadXPathDocument Activity loads an XML File into the workflow for further processing using [http://en.wikipedia.org/wiki/XPath XPath] expressions. It is the root activity for an import of XML data into {{UBIK}}. | The ReadXPathDocument Activity loads an XML File into the workflow for further processing using [http://en.wikipedia.org/wiki/XPath XPath] expressions. It is the root activity for an import of XML data into {{UBIK}}. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Arguments== | ==Arguments== | ||
− | |||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! Argument!! Type !! Direction !! Purpose | ! Argument!! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | FileName|| | + | | FileName|| {{String_MSDN}} || In || The full path to an accessible XML file |
|- align="left" | |- align="left" | ||
− | | XPathDocument || | + | | XPathDocument || {{XPathDocument_MSDN}}|| Out || The loaded file as XPath document, null if loading failed |
|- align="left" | |- align="left" | ||
− | | Result|| | + | | Result|| {{Boolean_MSDN}} || Out || Returns True on success, false on error |
|} | |} | ||
Revision as of 15:05, 8 January 2015
Read XPath Document | |
---|---|
Name | ReadXPathDocumnent |
Purpose | Load an XML file as XPath document |
Category | Data Exchange |
Returns | True if successful |
Version | 2.1.15+ |
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®.
Contents
Arguments
Argument | Type | Direction | Purpose |
---|---|---|---|
FileName | String | In | The full path to an accessible XML file |
XPathDocument | XPathDocument | Out | The loaded file as XPath document, null if loading failed |
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 GetXPathResult activities.
Example
Load the XML file C:\temp\test.xml into the workflow:
Argument | Value |
---|---|
FileName | "C:\temp\test.xml" |