Difference between revisions of "Activity:ReadXPathDocument (Activity)"
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The ReadXPathDocument | + | The ReadXPathDocument activity loads a XML document into the workflow, which can be further processed using [http://en.wikipedia.org/wiki/XPath XPath] expressions. It is the root activity for an import of XML data into {{UBIK}}. |
+ | =Description= | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Read XPath Document | | title = Read XPath Document | ||
| name = ReadXPathDocumnent | | name = ReadXPathDocumnent | ||
− | | image = | + | | image = [[File:UI_Activity_ReadXPathDocument.png|220px]] |
− | | imagecaption = Activity | + | | imagecaption = Activity ReadXPathDocument |
| purpose = Load an XML file as XPath document | | purpose = Load an XML file as XPath document | ||
| category = Data Exchange | | category = Data Exchange | ||
Line 12: | Line 13: | ||
}} | }} | ||
− | + | ===Arguments=== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | == | + | |
− | + | ||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
− | ! | + | ! 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 |
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
− | + | This activity is typically used to start the import of XML data by providing the loaded document to subsequent [[Activity:GetXPathResult (Activity)|GetXPathResult]] activities. | |
− | 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: | Load the XML file C:\temp\test.xml into the workflow: | ||
− | |||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
Line 46: | Line 37: | ||
| FileName|| <source lang = "vbnet">"C:\temp\test.xml"</source> | | FileName|| <source lang = "vbnet">"C:\temp\test.xml"</source> | ||
|} | |} | ||
+ | |||
+ | <headertabs /> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[Activity GetXPathResult]] | + | * [[Activity:GetXPathResult (Activity)]] |
− | [[Category: | + | [[Category:XML]] |
Latest revision as of 13:53, 23 February 2015
The ReadXPathDocument activity loads a XML document into the workflow, which can be further processed using XPath expressions. It is the root activity for an import of XML data into UBIK®.