ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
[xml-dev] Re: XML to object relational
by Ronald Bourret other posts by this author
Feb 27 2002 12:20PM messages near this date
Re: [xml-dev] HTTPEctomy considered bad (was RE: RE: [xml-dev] MS thinksHTTP Needs Replacing???) | [xml-dev] NEXTWARE Spring 2002 brochure available for download
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

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved