xsl-list
[Top] [All Lists]

RE: Merging an imported xsd schema into the importing xsd schema with XSLT?

2004-12-06 11:01:58
As the subject said I want to textually merge an imported 
schema sub.xsd into the importing schema main.xsd.
Afterwards only one schema file should exist.

Is there a simple way in XSLT (2.0) to achieve this with XSLT?

If one schema document imports another, then they must have different target
namespaces. Are you trying to combine two target namespaces into one? If so,
this is not just a "textual merge", it's a rather delicate operation that
involves changing the names of the objects in the imported schema. Perhaps
you can give us a (short) example of what you expect to happen.

Michael Kay
http://www.saxonica.com/

Otherwise I guess I have to include the imported schema file
and to replace the old namespace prefixes by these prefixes 
used in the 
main.xsd.

Is the namespace replacement sufficient or do I have something more?

How do I replace the prefixes with XSLT?

Matt
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--