diff --git a/test-suite/worked-examples/everything-metaschema/models-definition-map.xml b/test-suite/worked-examples/everything-metaschema/models-definition-map.xml index e03ca98b2..0d8f21030 100644 --- a/test-suite/worked-examples/everything-metaschema/models-definition-map.xml +++ b/test-suite/worked-examples/everything-metaschema/models-definition-map.xml @@ -1,6 +1,7 @@ - + @@ -13,23 +14,23 @@ - + - + - + - + @@ -47,14 +48,14 @@ - + - + - + @@ -71,22 +72,22 @@ - + - + - + - + - + diff --git a/test-suite/worked-examples/everything-metaschema/models_metaschema.xml b/test-suite/worked-examples/everything-metaschema/models_metaschema.xml index 0c5c43a8a..25182582e 100644 --- a/test-suite/worked-examples/everything-metaschema/models_metaschema.xml +++ b/test-suite/worked-examples/everything-metaschema/models_metaschema.xml @@ -37,7 +37,7 @@ - + diff --git a/toolchains/xslt-proto-v04/compose/make-model-map.xsl b/toolchains/xslt-proto-v04/compose/make-model-map.xsl index 2e4116f11..6d13e69a0 100644 --- a/toolchains/xslt-proto-v04/compose/make-model-map.xsl +++ b/toolchains/xslt-proto-v04/compose/make-model-map.xsl @@ -13,7 +13,7 @@ + prefix="{child::short-name ! normalize-space(.) }"> diff --git a/toolchains/xslt-proto-v04/compose/reduce-map.xsl b/toolchains/xslt-proto-v04/compose/reduce-map.xsl index bdfaff72b..83444f4c2 100644 --- a/toolchains/xslt-proto-v04/compose/reduce-map.xsl +++ b/toolchains/xslt-proto-v04/compose/reduce-map.xsl @@ -11,8 +11,14 @@ - + + + + + + + diff --git a/toolchains/xslt-proto-v04/compose/unfold-model-map.xsl b/toolchains/xslt-proto-v04/compose/unfold-model-map.xsl index 9f92b7b04..8828f1456 100644 --- a/toolchains/xslt-proto-v04/compose/unfold-model-map.xsl +++ b/toolchains/xslt-proto-v04/compose/unfold-model-map.xsl @@ -11,10 +11,13 @@ + + + - + diff --git a/toolchains/xslt-proto-v04/converter-gen/produce-xml-converter.xsl b/toolchains/xslt-proto-v04/converter-gen/produce-xml-converter.xsl new file mode 100644 index 000000000..86dfa19d6 --- /dev/null +++ b/toolchains/xslt-proto-v04/converter-gen/produce-xml-converter.xsl @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + METASCHEMA conversion stylesheet supports XML -> METASCHEMA/SUPERMODEL conversion + + 888888888888888888888888888888888888888888888888888888888888888888888888888888888 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + STRING + + + + { $source-namespace } + + + + + + + + + + + + + + + + + + + + + + @ + + + + + + + + + + + + + + + + + + + + + p | ul | ol | pre | h1 | h2 | h3 | h4 | h5 | h6 | table + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/toolchains/xslt-proto-v04/converter-gen/supermodel-to-json.xsl b/toolchains/xslt-proto-v04/converter-gen/supermodel-to-json.xsl new file mode 100644 index 000000000..5a87715d3 --- /dev/null +++ b/toolchains/xslt-proto-v04/converter-gen/supermodel-to-json.xsl @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/toolchains/xslt-proto-v04/converter-gen/supermodel-to-xml-serializer.xsl b/toolchains/xslt-proto-v04/converter-gen/supermodel-to-xml-serializer.xsl new file mode 100644 index 000000000..4ce2cccf7 --- /dev/null +++ b/toolchains/xslt-proto-v04/converter-gen/supermodel-to-xml-serializer.xsl @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file