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

Re: re-ordering an instance to match a schema

Subject: Re: re-ordering an instance to match a schema
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Wed, 14 May 2003 15:07:02 -0400
hr xml resume.xml
No. I considered two, the resume-xml on sourceforge.net and the HR-XML. I decided to go with resume-xml because it's much simpler.

However, the end-goal of the project is to be schema agnostic. Any RNG (relax ng) schema should work with the system. So, HR-XML would be part of that (since you can convert DTDs and W3C XML Schemas into RNG with various tools (I used rngconv).

simon

On Wednesday, May 14, 2003, at 03:00 PM, Ed Dodds wrote:

Are you working with the HR-XML.org resume xml standards?

Ed Dodds

---- Original message ----
Date: Wed, 14 May 2003 14:32:37 -0400
From: S Woodside <sbwoodside@xxxxxxxxx>
Subject:  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 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




-- anti-spam: do not post this address publicly www.simonwoodside.com -- 99% Devil, 1% Angel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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-2013 All Rights Reserved.