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] Auto schema/xpath generation from doc collection

Hi Paul,

To get a schema (Relax NG, XML Schema or DTD) from a set of documents 
you can use Trang. The latest Trang version is available from
http://code.google.com/p/jing-trang/

oXygen XML Editor (http://www.oxygenxml.com) contains a GUI around Trang 
and you should be able to select the list of XML files and specify what 
schema type you want as output. For some details see
http://www.oxygenxml.com/doc/ug-oxygen/converting-between-schema-languages.html

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Paul M wrote:
> Say one has a collection of docs:
> 
> doc1
> <para><sentence><bold>That</bold></sentence></para>
> doc2
> 
> <para><sentence><bold>That</bold></sentence></para>
> doc3
> 
> <paragraph><strong>That</strong></paragraph>
> ....doc20000 (many docs)
> 
> I am looking for a solution(application, ideas, designs) that would return:
> 1. A listing of xpaths to elements
> para
> para/sentence
> paragraph/strong
> OR
> 2. A schema from the docs in a collection.
> OR
> 3. Other ideas?
> 
> 


[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