🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Générer un XML avec Access

#313
From: la.tete.o.carre
Date: Tue, 14 Oct 2008 15:07
30 lines
2296 bytes
Bonjour a tous

je cherche le moyen de générer un fichier XML avec Access a partir
d'une requete.

Donc j'ai bien trouvé le menu "export ..." sélectionné le format XML
et exporter ma requete, jusque la ca va !
Mais le fichier XML que je génére, n'a pas le format dont j'ai
besion !

Voici le format que je cherche a générer :

<?xml version="1.0"?>
<content>
  <item Image="image.jpg" Delay="5000" Link="http://www.monsite.com"
Titre="Mon tritre" description="Mon sous titre">
    <copy>Mon commentaire : Lorem ipsum dolor sit ...</copy>
  </item>
  <item Image="image2.jpg" Delay="5000" Link="http://www.monsite.com"
Titre="Mon tritre 2" description="Mon sous titre 2">
    <copy>Mon commentaire 2 : Lorem ipsum dolor sit ...</copy>
  </item>
  <item Image="image3.jpg" Delay="5000" Link="http://www.monsite.com"
Titre="Mon tritre 3" description="Mon sous titre 3">
    <copy>Mon commentaire 3 : Lorem ipsum dolor sit ...</copy>
  </item>
  ...
</content>

Comment faire pour exporter mes données dans se format ?
Technical Details
Message-ID: <02edb9b3-033b-4688-a703-9cc02943519b@a1g2000hsb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!a1g2000hsb.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,cfd19a1814344331,start
X-Google-Attributes: gid114f60,domainid0,public,usenet
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!a1g2000hsb.googlegroups.com!not-for-mail
From: la.tete.o.carre@gmail.com
Newsgroups: fr.comp.text.xml
Subject: Générer un XML avec Access
Date: Tue, 14 Oct 2008 08:07:48 -0700 (PDT)
Organization: http://groups.google.com
Lines: 31
Message-ID: <02edb9b3-033b-4688-a703-9cc02943519b@a1g2000hsb.googlegroups.com>
NNTP-Posting-Host: 83.206.120.169
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1223996868 26209 127.0.0.1 (14 Oct 2008 15:07:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 14 Oct 2008 15:07:48 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a1g2000hsb.googlegroups.com; posting-host=83.206.120.169; 
 posting-account=x1c_sQkAAAClggBkDLdt9nGE38ulRrA4
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) 
 AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.30 Safari/525.13,gzip(gfe),gzip(gfe)