in reply to Re: DBMS<=>XML
in thread DBMS<=>XML
In this case there are three tables involved: the sessions table (which stores the sessionID, the username and a timestamp), the taxa table (which stores the tBID, and the sessionID as a foreign key) and the taxon table (which stores the tID, the name, the tBID and the sessionID - the last two are foreign keys referencing the taxa table).<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE cipresml SYSTEM "cipres.dtd"> <cipresml version="0.0.1" sessionID="1" status="0" user="rvosa" servic +e="Repository"> <submission> <taxa tBID="Taxablock"> <taxon tID="taxonID"> <name>taxon name</name> </taxon> </taxa> </submission> </cipresml>
SELECT name FROM taxon WHERE tBID='Taxablock' AND sessionID=1 AND tID= +'taxonID';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: DBMS<=>XML
by diotalevi (Canon) on May 04, 2004 at 00:11 UTC | |
by rvosa (Curate) on May 05, 2004 at 08:54 UTC |