[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Schema Versioning - A stylesheet to implement bac

Subject: Re: Schema Versioning - A stylesheet to implement backward compatibility
From: Chris Maloney <voldrani@xxxxxxxxx>
Date: Sat, 9 Jul 2011 21:20:53 -0400
Re:  Schema Versioning - A stylesheet to implement  bac
But, how does it work?  If all your stylesheet has is the old schema
and a new-schema-conforming instance document, it doesn't have enough
information.  If your stylesheet encounters a new element not defined
in the old schema, how does it know what to do?

On Sat, Jul 9, 2011 at 6:28 PM, ihe onwuka <ihe.onwuka@xxxxxxxxxxxxxx> wrote:
> Suppose B 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.