Sha256: e59dc27c94d1faea0185edf3465fc17c618f46c416458e021464a489131bfd70
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
# XML parser plugin for Embulk Parser plugin for [Embulk](https://github.com/embulk/embulk). Read data from input as xml and fetch each entries to output. ## Overview * **Plugin type**: parser * **Load all or nothing**: yes * **Resume supported**: no ## Configuration ```yaml parser: type: xml root: data/students/student schema: - {name: name, type: string} - {name: age, type: long} ``` - **type**: specify this plugin as `xml` - **root**: root property to start fetching each entries, specify in *path/to/node* style, required - **schema**: specify the attribute of table and data type, required Then you can fetch entries from the following xml: ```xml <data> <result>true</result> <students> <student> <name>John</name> <age>10</age> </student> <student> <name>Paul</name> <age>16</age> </student> <student> <name>George</name> <age>17</age> </student> <student> <name>Ringo</name> <age>18</age> </student> </students> </data> ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
embulk-parser-xml-0.0.4 | README.md |
embulk-parser-xml-0.0.3 | README.md |