W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

RE: Query

From: <JeanMichel.Leclercq@electrabel.com>
Date: Tue, 21 Aug 2001 10:24:17 +0200
Message-ID: <8D1414482878D4119AEE00508B6C907407A13FFC@SEACEX02>
To: www-dom@w3.org

At least two ways of using xml are possible with applications: Using DOM or
using SAX.

DOM is more appropriate if your file should be considered as a whole, or
accessed randomly.

SAX is more appropriate if you need sequential access to the content, like a
configuration file that your application read on startup.

Both methods have advantages and inconvenients. However, you may access the
same file with both methods at different moments.

>-----Original Message-----
>From: Anirudha [mailto:anirudha@studentsguild.com]
>Sent: lundi, 6. août 2001 6:55
>To: www-dom@w3.org
>Cc: Pune-Java@topica.com
>Subject: Query
>Hello All
>I am new to xml .I am developing one application which will 
>traverse through
>a XML file and get the data
>For getting particular node value I am using getElementByName and
>Selectnodes method.
>Is it a proper way???
Received on Tuesday, 21 August 2001 04:43:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC