xsl-list
[Top] [All Lists]

Re: [xsl] comparing XML document structure

2011-08-17 21:13:38
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--