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

  • From: George Cristian Bina <george@o...>
  • To: Paul M <pjmaip@y...>
  • Date: Wed, 20 May 2009 16:51:46 +0300

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]


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