Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Ann: XML Schema Evolver

Reply
Thread Tools

Ann: XML Schema Evolver

 
 
CJ
Guest
Posts: n/a
 
      05-31-2010
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Hangup in Corewars Evolver Brad G. Ruby 6 02-11-2011 12:57 PM
web.xml / XML schema issue, why do some XML schema attributes disappear asciz@starmail.com Java 3 02-20-2007 09:56 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
XML Schema to XML Schema Conversion Hari Om XML 1 03-02-2004 09:04 PM
XML schema regular expressions question and recommended XML Schema book Fred Smith XML 1 02-05-2004 11:12 AM



Advertisments