[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Schema Versioning - A stylesheet to implement backward compatibility


Subject: [xsl] Schema Versioning - A stylesheet to implement backward compatibility
From: ihe onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Sat, 9 Jul 2011 23:28:49 +0100

Suppose  an XML Schema issued to our business partners is updated with
new elements but we want to continue to accept XML that conforms to
old schema.

Provided that the elements from the old schema are a subset of the
elements in the new schema this can be done with a transformation.

I have written a stylesheet that takes an XML Schema call it
old-schema as a parameter and given xml conformant to the new schema
derives an xml instance that is conformant to old schema .

I believe this to be a generically useful solution and would like some
suggestions as to where to publish the code - I was thinking EXSLT but
have never done anything like this before and am not sure it is the
right forum.


Current Thread
Keywords