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

Re: XML to object relational


xml to object
I am not sure what you mean by mapping an XML document instead of
mapping a DTD (or other XML schema). For example, do you mean that I can
map the first A element in an XML document to table A1 and the second A
element to table A2? One way to do this would be to use XPointers in the
mapping information to identify individual elements and map these to
objects / the database. However, there doesn't seem to be much point in
doing this.

My guess is that your question is really how to map a document to the
database when the document doesn't have a DTD. Technically, no DTD is
necessary. At run time, the software just looks at the name of an
element/attribute, gets the mapping information, and transfers the data
to the correct table/column. No DTD is involved.

However, when you build the map, you essentially build a DTD. This is
because all elements of the same type are transferred the same way.
Thus, the map effectively defines the DTD. For example, if element A has
a child B in one place and a child C in another place, the map must map
both children.

Does this help?

-- Ron


brahim wrote:
> 
> I am looking for a mapping method from xml Docment(not a DTD) to Object
> Relational model so if anyone can help me I'd appreciate it...
> However I found a paper titeled:
> Shuichi Nishioka, Makoto Onizuka: Mapping XML to Object Relational Model.
> International Conference on Internet Computing (1) 2001: 171-177
> but I could not find it anywhere on the internet...
> if anyone can send it to me or send me the link to it , I would be so
> thankfull to them...
> Thanks.
> Brahim.

-- 
Ronald Bourret
Programming, Writing, and Research
XML, Databases, and Schemas
http://www.rpbourret.com

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.