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

Re: Fun With Schemas


marshall schemas
On Wed, 16 Mar 2005 08:13:36 +1100, Rick Marshall <rjm@z...> wrote:
> i must be missing something here. every day i do battle with
> translations from one vocabulary to another. flat files to csv to edi to
> xml to printer codes to postscript etc. actually i'm a bit over it all
> at the moment.
> 
> to do what len has suggested you need a dictionary - (not a data
> dictionary, but a dictionary) that says an attribute, element, whatever
> in one vocabulary is <something /> in another. possibly rdf is a good
> way to express this. then you need a translator that can read an output
> schema (and produce valid output). then it needs a schema to describe
> the input stream.
> 
I don't think you're missing anything.  I suspect we're basically
saying the same thing in different ways.

In our existing case I have a good set of metadata and I can build
rules around that which then tell me how to get a mapping from data to
document.  I don't explicitly have a mapping document, our mapping is
distributed all over the place (actually it's concentrated in about 10
tables, but I suspect that's more than is really needed).

I think what may have been confusing was that I also (sort of)
outlined a way to proceed when you don't have good mappings or
metadata or input Schema.  You could sum it up as key discovery used
to infer relationships that can then be used as the input Schema in
your scenario.  Certainly not as robust as a good Schema and a good
mapping, but for simple stuff it will work. It might also work for
some complex cases if you have good control over the data.

At this point, least I give the impression I'm in favour of using
Schema to do any of this, I think I should repeat my personal bias: If
the task is to turn raw data into semi-structured documents in a
generalized fashion I'd rather work with a good metadata store than
any Schema...  <perma-thread-option>One can also discuss exactly what
that might mean.</perma-thread-option>

<snip/>
-- 
Peter Hunsberger

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.