comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Read XML and Base64 format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Read XML and Base64 format [message #38787] Mon, 29 March 2004 17:22 Go to next message
Irtzouk is currently offline  Irtzouk
Messages: 3
Registered: July 2002
Junior Member
Thanks
I appreciate your answer but I have IDL 5.2. Is there a subroutine that
could be adapted to replace it?
Denis Lafrance

"Jeff Guerber" <jguerber@icesat2.gsfc.nasa.gov> a �crit dans le message de
news:Pine.GHP.4.32.0403291439230.6159-100000@icesat2.gsfc.na sa.gov...
> On Mon, 29 Mar 2004, Nimportequoi wrote:
>
>> Hi All,
>> Does anybody have a routine that reads XML files and base64 encoded
files?
>> Thanks in advance
>> DL
>
> I don't know about Base64, but IDL has had an XML parser since version
> 5.6. Look up the IDLffXMLSAX class. There are a couple examples of how
> to use it, too.
>
> (The documentation for IDLffXMLSAX leaves out some useful details. For
> example, the Characters() method returns _all_ characters from a > (ending
> one tag) to the next < (beginning the next tag), including any initial and
> final linefeeds. Also, "&...;" forms ("&lt;", "&amp;", etc.) are
> automatically translated into their respective characters (<, &, etc.), in
> both attribute values and element content, but in content they always seem
> to force a new Characters() call starting at that character.)
>
> Hope this helps,
>
> Jeff Guerber
>
Re: Read XML and Base64 format [message #38793 is a reply to message #38787] Mon, 29 March 2004 11:53 Go to previous messageGo to next message
Jeff Guerber is currently offline  Jeff Guerber
Messages: 41
Registered: July 2000
Member
On Mon, 29 Mar 2004, Nimportequoi wrote:

> Hi All,
> Does anybody have a routine that reads XML files and base64 encoded files?
> Thanks in advance
> DL

I don't know about Base64, but IDL has had an XML parser since version
5.6. Look up the IDLffXMLSAX class. There are a couple examples of how
to use it, too.

(The documentation for IDLffXMLSAX leaves out some useful details. For
example, the Characters() method returns _all_ characters from a > (ending
one tag) to the next < (beginning the next tag), including any initial and
final linefeeds. Also, "&...;" forms ("&lt;", "&amp;", etc.) are
automatically translated into their respective characters (<, &, etc.), in
both attribute values and element content, but in content they always seem
to force a new Characters() call starting at that character.)

Hope this helps,

Jeff Guerber
Re: Read XML and Base64 format [message #38864 is a reply to message #38787] Tue, 30 March 2004 13:14 Go to previous message
Jeff Guerber is currently offline  Jeff Guerber
Messages: 41
Registered: July 2000
Member
On Mon, 29 Mar 2004, Nimportequoi wrote:

> Thanks
> I appreciate your answer but I have IDL 5.2. Is there a subroutine that
> could be adapted to replace it?
> Denis Lafrance

5.2!! That's about, what, 5 or 6 years old!

I'm not aware of any (but don't take that as definitive), and a quick
Google search was inconclusive because of the ambiguity of the acronym
"IDL". Sorry. Maybe you can use the XML parser as justification for an
upgrade?

Jeff Guerber
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: widget objects
Next Topic: How to set elements of arrays as blank (not zero)?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:49:42 PDT 2025

Total time taken to generate the page: 0.00784 seconds