prajesh
6th July 2002, 13:08
Hi Friends

Its possible to send the Report to ASCII,Word ,HTML etc using
ttstpconv(Conversion to Word Processor) in Maintain Device Data. But I want to send the Report Data to an XML file and create an xml file.

By doing similar to HTML I am getting xml but its not well formed
and unnecessary data is also present in xml file.
In my case I only need the Data which is going to print on to the xml file. Is this possible could any one of you give some idea.

Thanks in Advance

Regards
PVR..

outra9e
8th July 2002, 11:40
Could you possibly tell me how you configured the device to do this?

Cheers

OmeLuuk
8th July 2002, 12:17
The XML function of Baan is optimized for use with Crystal Reports. With the datacontent also datastructure information is being sent that Crystal Reports can parse.

I think it is not a universal XML format... but I know little about XML.

outra9e
8th July 2002, 14:13
So prajesh, so I can get my head around it, how are you using the XML function? Is it to produce an XML document?

Cheers

prajesh
8th July 2002, 16:41
Hi

Maintain Device Data (ttaad3100m000)

Device XML
Device type Rewrite File
4GL Program ttstpconv
( ttstpconv is useful to convert to word processing file)
Argument xml
Path Name of the xml file

The generated xml file is not wellformed xml document and contains various miscellenous formatted information.

for examples Print Currencies (tcmcs0402m000)
The xml output should be in the following structure

<tcmcs002> --- table name
<record1>
<tcmcs002.curr>USD</tcmcs002.curr>
<tcmcs002.desc>American Dollars </tcmcs002.desc>
...................... remainining fields
.....................
</record1>
<record2>
<tcmcs002.curr>EUR</tcmcs002.curr>
<tcmcs002.desc>Euro</tcmcs002.desc>
...................... remainining fields
.....................
</record2>

...................... remainining records
.....................
<recordn>
...................... fields
.....................
</recordn>
</tcmcs002>

make a note in the above xml document we have only the data
which is displayed on the report no other inforation related to formatting.

I feel I had to make a component similar to ttstpconv
If so pls suggest your advices how to develop the component

If the above is wrong thinking can any one suggest me good solution to the above problem.

Thanks & Regards
Rajesh.

outra9e
8th July 2002, 16:56
I tried these settings, they are very similar exact to the html device.

Howver it gives me an error and says it is unable to continue.

Can you help?

Cheers