Changes for page Formularwerte aus XML importieren
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. nlo1 +XWiki.gru - Content
-
... ... @@ -1,15 +1,21 @@ 1 -Actions of type //Set form fields form XML// can be used to fill form fields with data from an XML document. This makes use of [[XPaths>>url:http://www.w3schools.com/xml/]] to [[select>>url:https://www.tutorialspoint.com/xml/]] a value from the XML document. 2 - 3 -{{figure image="import_xml_en.png"}} 1 +{{figure image="import_xml_en.png" clear="h1"}} 4 4 User interface for configuring the options of an action of type //Set form fields from XML//. 5 5 {{/figure}} 6 6 5 +Actions of type //Set form fields form XML// can be used to fill form fields with data from an XML document. This makes use of [[XPaths>>url:http://www.w3schools.com/xml/]] to [[select>>url:https://www.tutorialspoint.com/xml/]] a value from the XML document. 6 + 7 7 == Parameter == 8 8 9 -* {{litem title="XML source"}}A previous action providing the XML document to be used.{{/litem}} 10 -* {{litem title="XSL transform"}}An optional XSL transform applied to the XML document.{{/litem}} 11 -* {{litem title="XPath"}} * {{litem title="Field name"}}Name of the form element to be changed.{{/litem}} 12 - * {{litem title="XPath"}}XPath for selecting a value of the XML document. The value of the form field will be set to this value.{{/litem}}{{/litem}} 9 +; XML source 10 +: A previous action providing the XML document to be used. 11 +; Select XSL template 12 +: An optional XSL transform applied to the XML document. 13 +; Values to be set (Set XPath) 14 +: In the table, specific values from the XML document can be set for form elements. 15 +:; Field name 16 +:: Name of the form element to be changed. 17 +:; XPath 18 +:: XPath for selecting a value of the XML document. The value of the form field will be set to this value. 13 13 14 14 == Example == 15 15