Focal Point
Creating an XML file to send to location with Doc Type

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

March 22, 2007, 03:52 PM
Nailzz
Creating an XML file to send to location with Doc Type
Hi, Can anyone show me how to include a statement within my XML hold to show as this in the ouput. I need to include this after the xml first line that reads

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

< !DOCTYPE qipps SYSTEM
"c:\myfile\ditd\myfile_xml_import_dtd_20070314.dtd">

I know to use ON TABLE PCHOLD FORMAT XML, but dont' quite understand how in webfocus include a DOCTYPE statement.

Thanks!


WebFOCUS 7.1.3 on Win 2000
March 22, 2007, 04:40 PM
Leah
When I do an XML
ON TABLE PCHOLD FORMAT XML
the displayed code shows the line you're wanting to include. Haven't tried it with saving the file.

It doesn't have the doc type, line, just the ISO line.


Leah
March 22, 2007, 04:51 PM
Nailzz
Thanks. All mine gives is the version, but doesn't display anything about the doctype.

What I need is the schema definition (dtd) for the focus xml output.

This message has been edited. Last edited by: Nailzz,


WebFOCUS 7.1.3 on Win 2000
March 23, 2007, 10:28 AM
Nailzz
Leah, can you provide an example of your focus code that has this in it?


WebFOCUS 7.1.3 on Win 2000