Re: [xsl] comparing XML document structure

Subject: Re: [xsl] comparing XML document structure
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Aug 2011 12:16:03 -0400
Dear Graydon,

On 8/17/2011 10:13 PM, Graydon wrote:
Generating a schema from the exemplar file is indeed a good possibility;
thank you!

I'm glad you picked up on that. :-) Trang will generate quite a nice tight schema against an instance or a set of instances. Even only as a starter it can be quite useful.


In general, I prefer RelaxNG when using Trang for this sort of thing, not just because it's better at it than it is with XSD, but also because I find the results somewhat more tractable using my favorite tools (including the one that is the nominal and proper topic of this list).

Plus, take a look at Eric Van der Vlist's Examplotron: http://examplotron.org/.

Cheers,
Wendell

======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread