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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating xml file from access 2k db

Status
Not open for further replies.

hotreca

Technical User
Nov 19, 2002
25
0
0
DE
hi
I'm trying to export an access 2k db as a xml file in the format below using vba as I need to process the file and that does not work when I use the namespaces

<?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;filename.xsd&quot;>;
<parent>
<child1>bla</child1>
<child2>bla bla</child2>
<child3>bla bla bla</child3>
</parent>
<parent>
<child1>bla</child1>
<child2>bla bla</child2>
<child3>bla bla bla</child3>
</parent>
</dataroot>

or even better as
<?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
<root>
<parent>
<child1>bla</child1>
<child2>blabla</child2>
<child3>blablabla</child3>
</parent>
<parent>
<child1>bla</child1>
<child2>blabla</child2>
<child3>blablabla</child3>
</parent>
</root>



any help would be apreciated [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top