filepro & XML

Richard D. Williams richard at appgrp.net
Wed Jun 2 14:35:52 PDT 2004


Enrique,

I have not worked with XML yet, but I did attend Nancy's presentation in 
Orlando.
If I was working on an XML project I think I would create a translation 
file in filepro;
fpXML
1    tag name                    30        *
2    filepro filename          15         *
3    field_no (in this file)    3         .0
4    section no.                  3        .0
5      order no.                    3       .0

Then I could write code in this file to go out to my other filepro files 
and get this data and export it as an XML file.

You could sort by section no. and order no. to create detail xml section 
within the xml file.
If you need to add new data, or re-order it, it would be easy just to 
change your section no. or order no. value in those record.

You could even add another field called xml_filename and use it to 
export different XML files.

I as said this is just a thought.  I haven't actually done it.

Good luck

Richard D. Williams
Enrique Arredondo wrote:

> What's the easiest way of creating an XML file from filepro ? Right 
> now I'm using a full page report with 1000 lines so I can create each 
> tag that I need to, but I'm half way and this is overkill, assuming 
> that everytime they add more tags I'll be redoing this!.
>
> So I was thinking of creating filepro files where the field names are 
> the actual names of the XML tags and when printing the output use 
> "<{@fieldname{>"*1"</{@fieldname{">"
>
> What do you think ?
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
>



More information about the Filepro-list mailing list