XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] generate common xml shema from multiple xml instances

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@gmail.com]
Sent: 17 June 2009 06:24
To: xml-dev@lists.xml.org
Subject: [xml-dev] 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS