Re: [xsl] comparing XML document structure

Subject: Re: [xsl] comparing XML document structure
From: Graydon <graydon@xxxxxxxxx>
Date: Wed, 17 Aug 2011 22:13:28 -0400
On Wed, Aug 17, 2011 at 09:38:46PM -0400, Graydon Saunders scripsit:
> On Wed, Aug 17, 2011 at 06:48:55PM -0400, Wendell Piez scripsit:
> > But why not use a schema? There are processors such as Trang that
> > can infer schemas from documents.
> The target DTD is this big complex thing that sometimes has multiple
> entity replacements (dev version versus production version.)  Trang has
> serious issues schemafying it.
> The issue is also not one of validity; the content is valid before it
> gets to this step.  The problem is that the DTD is used very widely
> (corporate goal to get all the content into the same DTD) but the part
> of the DTD used for the particular content type is a much smaller
> subset.

And here I have a brain leak and totally miss what you were saying.

Generating a schema from the exemplar file is indeed a good possibility;
thank you!

-- Graydon

Current Thread