Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Using DTS to Export data to XML

Author  Topic 

shillr
Starting Member

2 Posts

Posted - 2006-07-26 : 07:36:50
I am looking to use DTS to create an order .xml file similar to that below.

- <header>
- <authentication-info>
<username>Z99999</username>
<password>password</password>
</authentication-info>
- <document-info>
<document-uid>A01400-09999-2005-10-05 11:57:29.609</document-uid>
<document-date>2005-10-05 11:57:29.609</document-date>
</document-info>
</header>
- <body>
- <order-entry>
- <orderHeader>
<memberOrderNumber>Test</memberOrderNumber>
<scheme>WAY</scheme>
<store>Z99999</store>
</orderHeader>
- <orderLine>
<itemCode>15693</itemCode>
<quantity>10</quantity>
</orderLine>

I know where to source the data its just using the right syntax to produce the required effect in the .xml file

Would be grateful of any advice
   

- Advertisement -