🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9626

Generer du XML a partir d'une BDD

#9626
From: Stephane GAHAGNON
Date: Fri, 16 Feb 2001 10:53
24 lines
1771 bytes
Bonjour,
je souhaiterais savoir s'il existe un moyen de generer des fichiers XML (a 
l'aide de PHP4) a partir d'une requete SQL (ayant des jointures) sous 
ORACLE 8.1.5
La structure que j'aimerais est la suivante :
<DATABASE>
	<TABLE1>
		<CHAMP1 de la table1>...</CHAMP1 de la table1>
		<CHAMP2 de la table1>...</CHAMP1 de la table1>
		<CHAMP3 de la table1>...</CHAMP1 de la table1>
	</TABLE1>
	<TABLE2>
		<CHAMP1 de la table2>...</CHAMP1 de la table2>
		<CHAMP2 de la table2>...</CHAMP2 de la table2>
		<CHAMP3 de la table2>...</CHAMP3 de la table2>
	</TABLE2>
</DATABASE>

Merci d'avance.


-- 
Posted from brest.ifremer.fr [134.246.155.1] 
via Mailgate.ORG Server - http://www.Mailgate.ORG
Technical Details
Message-ID: <01C0980F.045E6380.sgahagno@ifremer.fr>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.177.105.133!news.mailgate.org!brest.ifremer.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit
X-Google-Thread: 114f60,9dbc7fe00a9a2562,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-02-16 02:53:08 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.177.105.133!news.mailgate.org!brest.ifremer.fr!not-for-mail
From: sgahagno@ifremer.fr (Stephane GAHAGNON)
Newsgroups: fr.comp.text.xml
Subject: Generer du XML a partir d'une BDD
Date: 16 Feb 2001 11:53:06 +0100
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 24
Message-ID: <01C0980F.045E6380.sgahagno@ifremer.fr>
NNTP-Posting-Host: brest.ifremer.fr
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.mailgate.org 982320786 29719 134.246.155.1 (Fri, 16 Feb 2001 11:52:54 +0100)
X-Complaints-To: brest.ifremer.fr@abuse.net abuse@mailgate.org
NNTP-Posting-Date: 16 Feb 2001 10:53:06 GMT
Mail-From: sgahagno@ifremer.fr from brest.ifremer.fr [134.246.155.1]
X-URL: http://www.Mailgate.ORG