Re: Read XML and Base64 format [message #38787] |
Mon, 29 March 2004 17:22  |
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 ("<", "&", 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   |
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 ("<", "&", 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  |
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
|
|
|