[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Re: XML Zebra, a path-based tool for generating diff fingerprints for XML Schemas
- From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
- To: "xml-dev List" <xml-dev@lists.xml.org>
- Date: Sun, 17 Jan 2010 18:14:11 -0500
Forgive me for coming late to the party.
At 2010-01-17 20:56 +0000, Anthony B. Coates \(XML-Dev\) wrote:
>On Sun, 17 Jan 2010 20:43:07 -0000, DMS Lists <lists@d-m-s.co.nz> wrote:
>>As far as I remember, Ken Holman's stylesheets are for UBL purposes,
>>requiring all valid UBL XPaths which are included in Ken's solution.
>
>I believe Ken knows how to generate paths for arbitrary Schemas, but I
>guess he can answer that himself.
The "XPath files" stylesheets for schemas assume the UBL NDR (only
global declarations and references, no anonymous types). The code
does not work for arbitrary schemas. The stylesheets create an XML
instance describing all of the possible XPath addresses to elements
and attributes possible when using a schema. Recursive references
are noted but not traversed.
I'll be interested in looking at XML Zebra for a way of generating
the XPath instances for UBL schemas, and then I can just use it for
arbitrary schemas.
The stylesheets for producing the XPath reports from an XPath
instance are here:
http://www.CraneSoftwrights.com/resources/ubl/#xpathrep
Acknowledging the size of the UBL schemas, a more manageable (but
more fragile) set of XPaths can be created from an instance. The
stylesheets for creating XPath files for arbitrary instances are here:
http://www.CraneSoftwrights.com/resources/ubl/#xpathins
. . . . . . . . . Ken
--
UBL and Code List training: Copenhagen, Denmark 2010-02-08/10
XSLT/XQuery/XPath training after http://XMLPrague.cz 2010-03-15/19
XSLT/XQuery/XPath training: San Carlos, California 2010-04-26/30
Vote for your XML training: http://www.CraneSoftwrights.com/x/i/
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/x/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]