Jump to: navigation, search

Difference between revisions of "Activity:ReadXPathDocument (Activity)"


 
Line 1: Line 1:
 +
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
Line 9: Line 12:
 
| version = 2.1.15+
 
| version = 2.1.15+
 
}}
 
}}
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%"
 
|-
 
|-
Line 23: Line 25:
 
|}
 
|}
  
==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==
+
  
 +
=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 38: 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==
Line 44: Line 45:
  
 
[[Category:XML]]
 
[[Category:XML]]
[[Category:Interfacing]]
 

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®.

[edit]

Description

Read XPath Document
Name ReadXPathDocumnent
Purpose Load an XML file as XPath document
Category Data Exchange
Returns True if successful
Version 2.1.15+

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"

See also