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

Re: how to generate a xsl from 2 xsd?

Subject: Re: how to generate a xsl from 2 xsd?
From: J-P S <jps@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Sep 2004 09:50:38 +0100 (BST)
xsd mapping
On Mon, 6 Sep 2004, Dario Di Minno wrote:

) Is it possible to obtain automatically (via a tool or a Java api) an
) xslt file from the "A" and the "B" xsd files, able to transform the xml
) from the "B" format to the "A" format?

What you've described is the great semantic problem in automating XML
mapping. There's no easy solution, because there's nothing in the schema
that tells you that, say, tag A:x maps to tag B:y rather than tag B:z . A
mapping could guess based on the typing of objects which goes where, but
there's always going to be some ambiguity with all but the simplest of
schemata.

There are semi-solutions, which mostly involve constructing a taxonomy
with RDF and using that as an intermediary. It's not something I have any
special knowledge of but you might want to try a schema mailing list
rather than an XSLT one.

There was, however, an overview talk on this solution at the XML UK
conference a few months back: the slides are available at
http://www.xmluk.org/public/ral_2004.htm#bm . You can have a look at that
and see whether it's too much programming/building overhead for you.

Cheers,
J-P

-- 
"... Grayling, like every other professional atheist from Professor
Richard Dawkins down, brings in all manner of questionable assumptions
about human behaviour that he doesn't for a moment address with the care,
and venom, lavished on the New Testament." -- Private Eye #1035

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.