Hi Luc,

 

The way I do  it is as follows:

 

Create a table with at least a text column of the necessary length and a
integer column as PK

 

Write the procedure which fills the table row by row.

 

Then create a special report , choose option File -> Print to Text File
Setup

The report itself contains just 1 field, which is the forementioned text
column

 

Print the report with the statement

 

PRINT <reportname> order by <PK>  WHERE <condition> OPTION TXT |FILENAME
<filename>

 

If you have produced a correct XML file it can be opened by Explorer and so
on

 

If you like to check the XML with its XSD there are programs available 

 

You can mail me personally if you need further information

 

Tony IJntema

The Netherlands

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Luc
Delcoigne
Sent: donderdag 17 januari 2013 16:42
To: RBASE-L Mailing List
Subject: [RBASE-L] - re: writing an xml file.

 

HI, 

 

I have to write an xml -file from within a R:base stored procedure.

 

I have no experience with xml.

What would be the best way to start ?

 

Thanks,

 

Luc Delcoigne

Reply via email to