cancel
Showing results for 
Search instead for 
Did you mean: 

converting xml to DTD ?

Former Member
0 Kudos

Hi,

I know the xml structure from a 3rd party system and i want to convert this into DTD and import it into XI as External definition.

How can i convert the following xml structure to DTD ? can somebody guide in converting this to DTD so that i can use it in XI as external definition.

<?xml version="1.0" encoding="iso-8859-1" ?>

- <biztalk_1 xmlns="urn:biztalk-org:biztalk:biztalk_1">

- <header>

- <delivery>

- <message>

<messageID>1773692</messageID>

<sent>2007-02-28T09:02:05</sent>

<subject>BA Customer CheckIn</subject>

</message>

- <to>

<address>TST200</address>

</to>

- <from>

<address>LDSYS</address>

</from>

</delivery>

</header>

- <body>

- <doc:BACUSTOMER.CheckIn xmlns:doc="urn:sap-com:document:sap:business" xmlns="">

- <BACustomer>

<Customer>0017855501</Customer>

<Char8ExtBA>17855501</Char8ExtBA>

<BAType>ZY</BAType>

<CompanyCode>0010</CompanyCode>

<Country>US</Country>

<Name>SIRIS CORPORATION</Name>

<Name2 />

<Name3 />

<Name4 />

<Street>1787 E 71ST ST</Street>

<Street2>test addr 2</Street2>

<Street3 />

<Street4 />

<City>TULSA</City>

<District />

<Postalcode>74136</Postalcode>

<Region>OK</Region>

<Searchterm>SIRISCORPO</Searchterm>

<Telephone1>9184813244</Telephone1>

<Faxnumber />

<Title />

<Accountgroup>PRA2</Accountgroup>

<POBox />

<POboxPCode />

<Language>E</Language>

<Telex />

<POBoxcity />

<URL />

<Sortkey>024</Sortkey>

<Paytterms>0018</Paytterms>

<Tolerancegroup />

<Dunnprocedure>APA1</Dunnprocedure>

<Reconaccount />

<Intercompanycd />

<AllotPayMeth />

<BankInfo />

</BACustomer>

</doc:BACUSTOMER.CheckIn>

</body>

</biztalk_1>

Thanks,

k s reddy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srinivas,

Use following link to generate DTD to XML & XML to DTD online.

http://www.hitsw.com/xml_utilites/

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey

u can download AltovaXML spy and use that to convert the structure to DTD

its a free ware

thanx

ahmad