Jump to: navigation, search

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


(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...")
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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}}.
+
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
| internalname = ReadXPathDocumnent
+
| image = [[File:UI_Activity_ReadXPathDocument.png|220px]]
| image =
+
| imagecaption = Activity ReadXPathDocument
| imagecaption = Activity ReadXPathDocumnent
+
 
| purpose = Load an XML file as XPath document
 
| purpose = Load an XML file as XPath document
 
| category = Data Exchange
 
| category = Data Exchange
Line 13: Line 13:
 
}}
 
}}
  
 
+
===Arguments===
 
+
 
+
 
+
 
+
 
+
==Argument==
+
 
+
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
! Arguments!! Type !! Direction !! Purpose  
+
! Argument!! Type !! Direction !! Purpose  
 
|- align="left"
 
|- align="left"
| FileName|| String || In || The full path to an accessible XML file
+
| FileName|| {{String_MSDN}} || In || The full path to an accessible XML file
 
|- align="left"
 
|- align="left"
| XPathDocument || XPathDocument|| Out || The loaded file as XPath document, null if loading failed
+
| XPathDocument || {{XPathDocument_MSDN}}|| Out || The loaded file as XPath document, null if loading failed
 
|- align="left"
 
|- align="left"
| Result|| Boolean || Out || Returns True on success, false on error
+
| 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==
+
  
 +
=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 47: 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:Workflows]] [[Category:Activities]]
+
[[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®.

[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