Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie here: Different XML format?

Status
Not open for further replies.

flaviooooo

Programmer
Feb 24, 2003
496
FR
Hi,

I'm trying to fill a Dreamweaver Template with data from an Access(XP)-database. I've exported the accesstable of my choice as an XML file. I tried importing it in the template, no such luck. Now I've created a dummy XML file, by exporting the editable regions as XML. I see that the two XMLfiles have totally different formats:

From Access:

<?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
<dataroot xmlns:eek:d=&quot;urn:schemas-microsoft-com:eek:fficedata&quot; xmlns:xsi=&quot; xsi:noNamespaceSchemaLocation=&quot;spelers.xsd&quot;>
<spelers>
<number>1</number>
<name>Abbruzzese</name>
</spelers>

From the template:

<?xml version=&quot;1.0&quot;?>
<leegbio template=&quot;/Templates/leegbio.dwt&quot;>
<doctitle><![CDATA[
<TITLE>XMLtest</TITLE>
]]></doctitle>
<number><![CDATA[{1}]]></number>
<name><![CDATA[{Abbruzzese}]]></name>
</leegbio>


Is there a way to export the access XML in the format of the dreamweaver XML?
Or to import the format of the Access XML into the dreamweaver template?

there are about 100 records, with 20 fields each and it is updated every week; so changing it manually is not an option :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top