filepro & XML
Enrique Arredondo
henry at vegena.net
Thu Jun 3 12:58:30 PDT 2004
----- Original Message -----
From: "Fairlight" <fairlite at fairlite.com>
To: <filepro-list at lists.celestial.com>
Sent: Wednesday, June 02, 2004 4:17 PM
Subject: Re: filepro & XML
> The honourable and venerable Enrique Arredondo spoke thus:
> > 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 ?
>
> I think I'd just throw the lookup into a loop and use OPEN() and WRITE()
to
> handle the file I/O, and write the necessary strings.
>
> Creating XML from fP (or anything) is trivial. I've heard vague rumours
> that there might be not only a native XML parser but an XML creator. I
> can see a lot less value in the creator. It could make exporting slightly
> easier, but it's really pretty trivial as it is.
>
> Now parsing -in-? That's the harder bit. Significantly. But that's not
> what you want to do. What you're after is nothing harder than opening a
> file and writing whatever you need to write.
>
> mark->
> --
And where would you define all the tags ? Within the processing ?
More information about the Filepro-list
mailing list