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

Home » Public Forums » archive » XML parsing
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
XML parsing [message #31157] Fri, 07 June 2002 13:06 Go to next message
Doug Rowland is currently offline  Doug Rowland
Messages: 12
Registered: March 2002
Junior Member
Does anyone know of an XML parsing library for IDL?


Doug Rowland
rowland@fields.space.umn.edu
Re: XML Parsing [message #60104 is a reply to message #31157] Thu, 01 May 2008 06:31 Go to previous message
KRDean is currently offline  KRDean
Messages: 69
Registered: July 2006
Member
On Apr 30, 5:08 pm, greyham...@hotmail.com wrote:
> Hello everyone,
>
> I would like to simply take an XML file and store the tags and values
> in a structure or array. I'm getting lost in the documentation with
> all the references to objects etc. The XML file might look something
> like this...
>
> <header>
>  <time>
>   <hour>12</hour>
>   <minute>3</minute>
>  </time>
>  <status>1</status>
>  <complete>0</complete>
> </header>
>
> At this point, it seems easier to write my own parser! Thanks for the
> help in advance.

ITTIVS provides a nice IDL example to send the XML into a structure
using their IDLffXMLSAX object parser.

.edit xml_to_struct__define.pro

Kelly Dean
Fort Collins, CO
Re: XML Parsing [message #60108 is a reply to message #31157] Wed, 30 April 2008 16:17 Go to previous message
Robbie is currently offline  Robbie
Messages: 165
Registered: February 2006
Senior Member
You could also use rt_xmlrpcfile::parse and rt_xmlrpcfile::print
from my XML-RPC library.

http://barnett.id.au/idl/

Robbie
Re: XML Parsing [message #60109 is a reply to message #31157] Wed, 30 April 2008 16:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
greyham433@hotmail.com writes:

> At this point, it seems easier to write my own parser! Thanks for the
> help in advance.

You're probably right. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ProductLog function
Next Topic: A problem using IDL?

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

Current Time: Wed Oct 08 15:16:20 PDT 2025

Total time taken to generate the page: 0.00607 seconds