Subject: Re: [xsl] re-ordering an instance to match a schema From: S Woodside <sbwoodside@xxxxxxxxx> Date: Wed, 14 May 2003 15:07:02 -0400 |
Are you working with the HR-XML.org resume xml standards?
Ed Dodds
---- Original message ----of XSLT toDate: Wed, 14 May 2003 14:32:37 -0400 From: S Woodside <sbwoodside@xxxxxxxxx> Subject: [xsl] re-ordering an instance to match a schema To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Hi there,
Some of you might remember that I was writing a small suitedo roundtripping of XML instance data to HTML forms and backagain,based on RNG (relax NG) schemas to define the forms. Well, Iactuallymade some progress and have something that kinda-sorta worksnow. Oneissue though is that my code isn't smart enough to insertnew elementsin the "right" order*.the schema
* where the "right" order is the order that things appear inwritten ...)
The reason that's important is that xslt I've seen (andoften assumes that the instance XML will be in a certainorder andoutputs in that order too, so that in this case with resumesI get jobhistory listed before the name and address ;-)instance and
Is there XSLT out there, that I can use, that will take ana schema and re-order the instance to match the schema? Doesthat makesense?if/when it's
TIA,
simon
PS I still plan to release the source as open source whenreadyhttp://www.mulberrytech.com/xsl/xsl-list
-- www.simonwoodside.com -- 99% Devil, 1% Angel
XSL-List info and archive:
-- anti-spam: do not post this address publicly www.simonwoodside.com -- 99% Devil, 1% Angel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] re-ordering an instance t, Wendell Piez | Thread | [xsl] XPath: following sibling/cous, Lars Huttar |
RE: [xsl] Using or ignoring Types i, Andrew Watt | Date | [xsl] Re: XPath: better way to chec, Dimitre Novatchev |
Month |