Focal Point
Creating xml file from custom XML schema (xsd doc)

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5051016752

November 16, 2007, 05:43 PM
jan
Creating xml file from custom XML schema (xsd doc)
I need to create a XML file from a Focus on table hold file using a custom XML schema (.xsd file). We do not have a license for the XML adaper, or the Data Migration tool. I can create a focus file with a table file of 'ON TABLE FILE HOLD ?? FROMAT XML', but I need the data formatted for this custom schema.
Other then hard coding the tags etc.. in the report file, what other options exist. We have just upgraded to WF V7.6.1
November 17, 2007, 08:22 AM
FrankDutch
Jan

try this

ON TABLE PCHOLD FORMAT XML

And see this discussion here.

And special the point from Tony and Alan B.

You can also search on the forum by the "find" button.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

November 19, 2007, 04:36 AM
GamP
Jan,
I think that the only solution to this is to create your own.
The XML format that webfocus produces is really only suitable for use with webfocus itself. After all, anyone can define their own xml. Yes, there are some standards (or attempts), but the webfocus xml output does not comply with these.
Creating your own xml-output is not really that hard to do. It took me max 4 hours to do, depending on the desired xml-structure.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
November 19, 2007, 10:29 AM
Clif
You may want to consider liscensing DataMigrator. It lets you automatically create a sysnonym for an xsd file and then map to it as a target in a data flow.


N/A