11# XML Generator
22
3+ ![ PyPI - Version] ( https://img.shields.io/pypi/v/xmlgenerator )
4+ [ ![ PyPI - Downloads] ( https://img.shields.io/pypi/dm/xmlgenerator )] ( https://pypistats.org/packages/xmlgenerator )
5+ [](https://deepwiki.com/lexakimov/xmlgenerator)
6+
37- [ Русский 🇷🇺] ( README_RU.md )
48- [ English 🇺🇸] ( README.md )
59
@@ -44,27 +48,28 @@ The generator command is `xmlgenerator`
4448** Flags and parameters:**
4549
4650```
47- usage: xmlgenerator [-h] [-c <config.yml>] [-o <output.xml>] [-p] [-v <validation> ] [-ff] [-e <encoding >] [-s <seed> ]
48- [-d] [-V] [-C <shell>]
51+ usage: xmlgenerator [-h] [-c <config.yml>] [-o <output.xml>] [-p] [-n alias=namespace ] [-v <validation >] [-ff ]
52+ [-e <encoding>] [-s <seed>] [- d] [-V] [-C <shell>]
4953 xsd [xsd ...]
5054
5155Generates XML documents from XSD schemas
5256
5357positional arguments:
54- xsd paths to xsd schema(s) or directory with xsd schemas
58+ xsd paths to xsd schema(s) or directory with xsd schemas
5559
5660options:
57- -h, --help show this help message and exit
58- -c, --config <config.yml> pass a YAML configuration file
59- -o, --output <output.xml> save the output to a directory or file
60- -p, --pretty prettify the output XML
61- -v, --validation <validation> validate the generated XML document (none, schema, schematron; default: schema)
62- -ff, --fail-fast terminate execution on a validation error (default: true)
63- -e, --encoding <encoding> the output XML encoding (utf-8, windows-1251; default: utf-8)
64- -s, --seed <seed> set the randomization seed
65- -d, --debug enable debug mode
66- -V, --version show the current version
67- -C, --completion <shell> print a shell completion script (bash, zsh, tcsh)
61+ -h, --help show this help message and exit
62+ -c, --config <config.yml> pass a YAML configuration file
63+ -o, --output <output.xml> save the output to a directory or file
64+ -p, --pretty prettify the output XML
65+ -n, --namespace alias=namespace define XML namespace alias (repeatable flag)
66+ -v, --validation <validation> validate the generated XML document (none, schema, schematron; default: schema)
67+ -ff, --fail-fast terminate execution on a validation error (default: true)
68+ -e, --encoding <encoding> the output XML encoding (utf-8, windows-1251; default: utf-8)
69+ -s, --seed <seed> set the randomization seed
70+ -d, --debug enable debug mode
71+ -V, --version show the current version
72+ -C, --completion <shell> print a shell completion script (bash, zsh, tcsh)
6873```
6974
7075** Examples:**
@@ -137,10 +142,9 @@ Contributions are welcome! Please open an issue or submit a pull request on GitH
137142
1381434.1. ** Install the package:**
139144
145+ Install in develop mode (code changes will be immediately reflected):
140146 ` ` ` bash
141- pip install .
142- # or for development mode (code changes will be immediately reflected)
143- # pip install -e .
147+ pip install -e .
144148 ` ` `
145149
1461504.2. ** Otherwise, build single executable:**
@@ -149,11 +153,6 @@ Contributions are welcome! Please open an issue or submit a pull request on GitH
149153 python build_native.py
150154 ` ` `
151155
152- # ## Project Structure
153-
154- - ` xmlgenerator/` - main project code
155- - ` tests/` - tests
156-
157156# ## Running Tests
158157
159158` ` ` bash
0 commit comments