[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-dev
Subject:    [xml-dev] Ann: XML Schema Evolver
From:       Corwin Joy <corwinjoy () gmail ! com>
Date:       2010-05-31 2:13:17
Message-ID: AANLkTik8A-VsqMI6qgjP2guPRiFKM2j4cXCwDg0h_-VG () mail ! gmail ! com
[Download RAW message or body]

What:
This tool helps create scripts to migrate XML data from one version of
an XML schema to a later
version of the same schema. The tool creates these scripts by
differencing XSD files and emitting
XSLT 2.0 to automatically migrate XML data.

Where:
https://sourceforge.net/projects/xsdevolver/

Background:
The company I work for sells a shrink-wrapped application where we
save a workbook in an XML format according to a specified XSD schema.
Over time, we expect the format of this schema to change. We wanted a
way to help us diff schema versions as they evolve over time and
generate initial XSLT to migrate data from older versions of the
schema to newer versions of the schema.


Details:

Usage:

XMLSchemaEvolver  SchemaVersion1.xsd SchemaVersion2.xsd

Output:

1.       A schema diff showing what elements have been changed

2.       XSLT to translate XML data from SchemaVersion1 to SchemaVersion2



How does it work?


The basic idea is this:

1)      Do a diff of two xml schema (xsd) files.

2)      Each change is classified as an INSERT, DELETE, MOVE or RENAME
operation.

3)      For each of these operations, emit simple XSLT to carry out
the desired data change.

4)      These data change operations are modeled after a set of
standard XSLT operations suggested by
        Jesper Tverskov in XSLT Transformation Patterns.  A full list
of the transformations emitted by our
        code can be found XSLT Transformations.txt in the documentation folder.

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic