[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Searching XSLT scripts to split and merge XSD schema files?


Subject: [xsl] Searching XSLT scripts to split and merge XSD schema files?
From: "Ben Stover" <bxstover@xxxxxxxxxxx>
Date: Fri, 19 Jun 2009 23:19:53 +0200

Assume I have one XSD Schema file with multiple ComplexTypes inside.
Now I want to cut one (or some) of these ComplexTypes and put it into
a new/existing other, second XSD schema file below a different namespace.

Of cause this should not be done simply textually but the references/associations
should be kept.

In the original XSD schema file the new XSD schema file must be imported (if not already).
If the type is used in another ComplexType or Element spec then it should become 
the prefix of the new namespace.

Is there such a XSLT script for this purpose?

Is there a XSLT script for the opposite direction: When MERGING
a ComplexType or Element from a second XSD schema file into the current 
first XSD Schema file?


Current Thread
Keywords