Subject: RE: [xsl] Merging an imported xsd schema into the importing xsd schema with XSLT? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 6 Dec 2004 18:01:58 -0000 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Merging an imported xsd s, David Carlisle | Thread | [xsl] Merging an imported xsd schem, Matt Adams |
[xsl] selecting multiple elements, Christopher Hansen | Date | Re: [xsl] Saxon param to supress ou, JBryant |
Month |