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

Home » Public Forums » archive » Re: XML Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: XML Question [message #42829 is a reply to message #42816] Tue, 22 February 2005 16:31 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> I'm trying to get up to speed on XML files very quickly
> (that is, I needed this yesterday). I'm looking at the
> documentation and my anxiety is increasing exponentially.

Uh oh.

> Does anyone have a fairly simple example of reading an
> XML file and doing something useful with the information?

No.

> I would like, for example, to read a configuration file
> with parameters and their associated values. I would like
> to build a widget that would allow the user to change the
> values, and finally I would like to write the configuration
> file back to an XML file. Does anyone have anything remotely
> like that?

I've worked with XML before, but not with IDL. I don't know how their
classes are set up to handle things. I hate to say it, but I took a
quick look at the documentation, and the "Using the XML DOM classes"
looks like what you need -- there are examples, but in classic IDL
fashion, they write the examples using a sample.xml file which they
don't show you. So it's pretty hard to understand things without
knowing the format of the file they're using. You might try loading a
very simple XML file and playing with the methods they use. That's
about all I can recommend. I didn't even know before now that IDL even
supported XML. I'm going to have to look harder at this in the future.

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Case statement question
Next Topic: Singular jacobian in broyden

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

Current Time: Sun Oct 12 03:31:17 PDT 2025

Total time taken to generate the page: 0.01469 seconds