|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] re-ordering an instance to match a schema
Hi there,
Some of you might remember that I was writing a small suite of XSLT to do roundtripping of XML instance data to HTML forms and back again, based on RNG (relax NG) schemas to define the forms. Well, I actually made some progress and have something that kinda-sorta works now. One issue though is that my code isn't smart enough to insert new elements in the "right" order*. * where the "right" order is the order that things appear in the schema The reason that's important is that xslt I've seen (and written ...) often assumes that the instance XML will be in a certain order and outputs in that order too, so that in this case with resumes I get job history listed before the name and address ;-) Is there XSLT out there, that I can use, that will take an instance and a schema and re-order the instance to match the schema? Does that make sense? TIA, simon PS I still plan to release the source as open source when if/when it's ready -- www.simonwoodside.com -- 99% Devil, 1% Angel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








