Subject: Re: [xsl] comparing XML document structure From: Liam R E Quin <liam@xxxxxx> Date: Thu, 18 Aug 2011 00:25:18 -0400 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] comparing XML document st, Graydon | Thread | Re: [xsl] comparing XML document st, Wendell Piez |
Re: [xsl] comparing XML document st, Graydon | Date | Re: [xsl] XSLT Unit testing, Tony Graham |
Month |