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 #42830 is a reply to message #42829] Tue, 22 February 2005 16:29 Go to previous message
Robert Barnett is currently offline  Robert Barnett
Messages: 70
Registered: May 2004
Member
Well DOM is a specification which covers many, *many* different
languages. Data typing has to be very generic and most structural
information is expressed in OO jargon.

Sometimes the easiest way serialise something as a DOM is to actually
inherit the DOM::Element class itself. Read and write everything to the
DOM rather than storing stuff in your own OO fields. This option is not
really available to you because you have already written your code.

If you want to learn DOM and XML quickly I'd actually recommend looking
at tutorials in another language that is familiar to you. Something like
perl, python, java or c++ might be ideal.

Occasionally, you might find that XML SAX is a bit easier to use.


David Fanning wrote:

> Folks,
>
> I think I am beginning to understand how people feel when
> they start to learn about objects for the first time.
> That is to say, the IDL documentation is just about
> impossible.
>
> 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.
> Does anyone have a fairly simple example of reading an
> XML file and doing something useful with the information?
>
> 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 see to be floundering in IDLffDOM minutiae. :-(
>
> Cheers,
>
> David
>
>


--

nrb@
Robbie Barnett
imag
Research Assistant
wsahs
Nuclear Medicine & Ultrasound
nsw
Westmead Hospital
gov
Sydney Australia
au
+61 2 9845 7223
[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: Sat Oct 11 22:33:22 PDT 2025

Total time taken to generate the page: 1.51928 seconds