[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: comparing XML document structure

Subject: Re: comparing XML document structure
From: Liam R E Quin <liam@xxxxxx>
Date: Thu, 18 Aug 2011 00:25:18 -0400
Re:  comparing XML document structure
On Wed, 2011-08-17 at 22:13 -0400, Graydon wrote:

> Generating a schema from the exemplar file is indeed a good possibility;

The Oxygen editor includes a tool for doing that, at least for XSD.

If all you are interested in is containment, not number (e.g. the
abstract must have exactly five paragraphs, or there must be five steps
in a repair sequence) you could also write some XSLT that would read the
exemplar and generate XSLT that would check for hierarchy. Or for that
matter generate an XML Schema directly.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.