User Tools

Site Tools


transformations:importxml
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
transformations:importxml [2021/03/10 11:22] craigt
Line 1: Line 1:
 +{{ transformations:ImportXmlAction.png}}
 +
 +======IMPORT FROM XML======
 +(Category: //Import | File//)
 +
 +=====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.
 +
 +Note that empty elements (e.g. <tag></tag> or <tag/>) are converted into empty text strings, while missing elements result in empty values (i.e. nulls).\\
 +\\ 
 +
 +=====Action settings=====
 +^ Settings  ^ Description  ^
 +|Load file| Fully-qualified file name of the dataset (includes relative or absolute path).  |
 +|Decimal| Sets whether decimal places are represented by points or commas\\ Options: ⊕ //Points//, ⊕ //Commas//. |
 +|DTD Processing|Sets the parsing mode EasyMoprh will use for DTD definition parsing.  See below.|
 +|Value types|Sets whether EasyMorph will interpret between text and numeric values, or read all data in as text values.\\ Options: ⊕ //Auto//, ⊕ //All text//.|
 +\\ 
 +
 +===== DTD Parsing Modes =====
 +
 +There are three modes that instruct EasyMorph how to parse DTD definitions:
 +
 +^  Mode  ^  Behavior  ^
 +|Prohibit (default)  |DTD is not allowed. When DTD is encountered in the loaded XML file the project fails. |
 +|Ignore  |DTD is allowed but ignored. When DTD is present in the loaded XML file it is completely ignored and no error is generated. |
 +|Parse  |DTD is parsed. |
 +
 +
 +==== Restrictions ====
 +  * Re-definition of namespaces is not supported. Elements with re-defined namespaces are ignored.
 +  * Multiple default namespaces per element not supported.
 +  * XML validation according to DTD or XDS is not performed.
 +
 +\\ 
 +=====See also=====
 +
 +  * [[transformations:parsexml|Parse XML]]
 +  * [[transformations:importjson|Import JSON]]
 +
 +
 +
  
transformations/importxml.txt · Last modified: 2021/08/14 21:28 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki