[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|