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.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format