git.iko.soy/typeable/xsd-isogen
on master help sign in
28 lines 934 B history raw
1# xsd-isogen
3Tool to generate xml-isogen descriptions from xsd files
5Usage
6=====
8Use `xsd-isogen -i in.xsd -m Generator > out.hs` for queries.
10Use `xsd-isogen -i in.xsd -m Parser > out.hs` for responses.
12Use `xsd-isogen -i in.xsd -m Both > out.hs` for common definitions.
14If there are conflicting field names in some datatypes, one of the the datatype names gets consecutive numbers starting from 2 appended to it (so that the field name prefix changes) until there are no more conflicts.
16## Available options:
17 - `--no-header`:
18 Do not place a header at the top of the file.
19 - `--header ARG`:
20 A custom header to be placed at the top of the file.
21 - `-m,--mode ARG`:
22 Whether to generate both parsers and generators. One of: Parser, Generator, Both.
23 - `-i,--input ARG`:
24 Path to the input .xsd file.
25 - `-n,--name ARG`:
26 Specify the name of the generated module.
27 - `-h,--help`:
28 Show this help text