TED]
Subject: RE: Hi ...Help required for DOM Parser
Sensitivity: Confidential
thanks for the info .
I am using DOM as my xml is not that large .
Kindly let me know which methods to use to iterate the loop for the case
where I have more that one so that I can read all elements
iterative
thanks !!!
Ravi Jain
> --
> From: Erik Rydgren[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Monday, December 03, 2001 15:11
> To: [EMAIL PROTECTED]
> Subject: RE: Hi ...Help required for DOM Parser
> Sensitivity: Confid
n[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Monday, December 03, 2001 14:48
> To: [EMAIL PROTECTED]
> Subject: RE: Hi ...Help required for DOM Parser
> Sensitivity: Confidential
>
> Well reading nodes is what a XML parser does best... :
1 15:05
> To: [EMAIL PROTECTED]
> Subject: RE: Hi ...Help required for DOM Parser
> Sensitivity: Confidential
>
> I think you want to use DOM_Document::getElementsByTagName. See the manual
> entry for that.
>
> > -Original Message-
> > From: Ravi_Jai
I think you want to use DOM_Document::getElementsByTagName. See the manual
entry for that.
> -Original Message-
> From: Ravi_Jain [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 10:19 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Hi ...Help required for DOM Parse
TECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Monday, December 03, 2001 14:48
> To: [EMAIL PROTECTED]
> Subject: RE: Hi ...Help required for DOM Parser
> Sensitivity: Confidential
>
> Well reading nodes is what a XML parser does best... :) j/k
>
> You were
Well reading nodes is what a XML parser does best... :) j/k
You were not very specific about what you want to accomplish but if you
parse the file as you described then the resulting DOM tree looks like this:
<#text> nodevalue=datax
<#text> nodevalue=datay
... and so on
Which