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

Convert xml to another xml w/diff schema

Status
Not open for further replies.

mhyztyq

Programmer
Mar 16, 2005
4
PH
Hi,

I am using PB9 and I need to create a new function that will convert an XML file to another XML file. The XMLs does not have the same schema but there is an XSL file.

How can this be done in PB? Please help.

Thanks,

Mhyz

 
Import the first XML into a datawindow, change whatever you need (or perhaps copy the data to a second datawindow with the fields for the second XML file), then export the data back to XML with a Saveas.

Matt

"Nature forges everything on the anvil of time
 
Thanks Matt...

But problem is it's hard to match the data of the two XMLs. Their schema are not the same so its hard to know which fields to copy to the second datawindow. It's like a guessing game.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top