transformations:importxml
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
transformations:importxml [2016/07/04 19:58] – created dmitry | transformations:importxml [2021/08/14 21:28] (current) – [Action settings] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Import from XML ===== | + | {{ transformations: |
- | Import | + | ======IMPORT XML FILE====== |
+ | Category: | ||
- | Note that empty elements (e.g. < | + | \\ |
+ | =====Description===== | ||
- | === DTD Parsing Modes === | + | 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.\\ |
+ | |||
+ | \\ | ||
+ | =====Action settings===== | ||
+ | ^ Setting | ||
+ | |Load file< | ||
+ | |Decimal separator|Sets whether decimal places are represented by points or commas. Options: //Points// or //Commas//. | | ||
+ | |Thousand separator|Sets the character that represents thousands places. Options: // | ||
+ | |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//.| | ||
+ | |Root XML path< | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ==== 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 11: | Line 27: | ||
^ Mode ^ Behavior | ^ Mode ^ Behavior | ||
|Prohibit (default) | |Prohibit (default) | ||
- | |Ignore | + | |Ignore |
|Parse | |Parse | ||
Line 19: | Line 35: | ||
* 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:// | ||
+ | |||
+ | \\ | ||
+ | =====Shortcuts===== | ||
+ | Fast ways to create the action: | ||
+ | * Press the "Add data" menu button. Pick " | ||
+ | * Drag an XML file into the application window. Supported file extensions: .xml | ||
+ | * Drag a folder with XML files into the application window. | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | |||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
+ | |||
+ | |||
+ | |||
transformations/importxml.1467676739.txt.gz · Last modified: 2016/07/04 19:58 by dmitry