transformations:importxml
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
transformations:importxml [2021/03/25 23:47] – craigt | transformations:importxml [2021/08/14 21:28] (current) – [Action settings] craigt | ||
---|---|---|---|
Line 7: | Line 7: | ||
=====Description===== | =====Description===== | ||
- | Import data from an XML file. Data elements are specified by an XML path. Optionally, data elements can be further narrowed down by selecting only particular XML elements and/or their attributes. Values and attributes of parent elements are repeated for child elements in order to preserve the relationship between them. | + | Import data from an XML file. Data elements are specified by an XML path. Optionally, data elements can be further narrowed down by selecting only particular XML elements and/or their attributes. Values and attributes of parent elements are repeated for child elements in order to preserve the relationship between them.\\ |
- | + | ||
- | Note that empty elements (e.g. < | + | |
\\ | \\ | ||
Line 15: | Line 13: | ||
^ Setting | ^ Setting | ||
|Load file< | |Load file< | ||
- | |Decimal| Sets whether decimal places are represented by points or commas\\ Options: //Points//, //Commas//. | | + | |Decimal |
+ | |Thousand separator|Sets the character that represents thousands places. Options: // | ||
|DTD Processing|Sets the parsing mode EasyMoprh will use for DTD definition parsing. | |DTD Processing|Sets the parsing mode EasyMoprh will use for DTD definition parsing. | ||
|Value types|Sets whether EasyMorph will interpret between text and numeric values, or read all data in as text values.\\ Options: //Auto//, //All text//.| | |Value types|Sets whether EasyMorph will interpret between text and numeric values, or read all data in as text values.\\ Options: //Auto//, //All text//.| | ||
Line 22: | Line 21: | ||
\\ | \\ | ||
- | ===== DTD parsing modes ===== | + | ==== DTD parsing modes ==== |
There are three modes that instruct EasyMorph how to parse DTD definitions: | There are three modes that instruct EasyMorph how to parse DTD definitions: | ||
Line 32: | Line 31: | ||
- | ==== Restrictions | + | === Restrictions === |
* Re-definition of namespaces is not supported. Elements with re-defined namespaces are ignored. | * Re-definition of namespaces is not supported. Elements with re-defined namespaces are ignored. | ||
* Multiple default namespaces per element not supported. | * Multiple default namespaces per element not supported. | ||
* XML validation according to DTD or XDS is not performed. | * XML validation according to DTD or XDS is not performed. | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | Empty elements (e.g. < | ||
+ | |||
+ | \\ | ||
+ | =====Community examples===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
\\ | \\ |
transformations/importxml.txt · Last modified: 2021/08/14 21:28 by craigt