[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Michael Kay" <mike@s...>
  • To: "'Rita Shen'" <shaledova@g...>,<xml-dev@l...>
  • Date: Wed, 17 Jun 2009 08:49:44 +0100

I've done this with good results in the past by simply concatenating the documents (by generating a wrapper document that pulled in the indivudual documents as external entities). Of course there's a bit of post-processing needed, e.g. to get rid of the wrapper element, but that's always true when you generate a schema anyway.
 

Regards,

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



From: Rita Shen [mailto:shaledova@g...]
Sent: 17 June 2009 06:24
To: xml-dev@l...
Subject: generate common xml shema from multiple xml instances

Hi,

How can I generate a common XML schema for multiple xml instances??
I know many tools can generate an XSD from a single XML instance.
But in my case, I want to get the unknown common XSD for a bunch of XML instances.

Thanks for any help,
syt


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member