Skip to content

Commit

Permalink
generate schema w/o namespace defs
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Apr 24, 2018
1 parent f5ae4b2 commit f744bd1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,14 @@ deps-pip-test:
install: spec
$(PIP) install .


# Regenerate python code from PAGE XSD
generate-page: repo/assets
generateDS -o ocrd/model/ocrd_page.py repo/assets/data/schema/2017-07-15.xsd
generateDS \
-f \
--no-namespace-defs \
--root-element='PcGts' \
-o ocrd/model/ocrd_page_generateds.py \
repo/assets/data/schema/2017-07-15.xsd

#
# Repos
Expand Down

0 comments on commit f744bd1

Please sign in to comment.