You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by lakshmikant panchal <la...@rediffmail.com> on 2002/09/11 14:49:49 UTC

Problem in setting values for inner nodes

Hi,

I am using JDOM api for XML parsing,

our XML structure is similar to the one shown below

<row id="1">
  <time-spent>12:00<time-spent>
  <field1>205001<field1>
  <field2>1<field2>
</row>
<row id="2">
  <time-spent>12:00<time-spent>
  <field1>205001<field1>
  <field2>1<field2>
</row>

when i set the value of 'time-spent' tag for 'row' tag with id = 
1, it is getting set for the second rows 'time-spent' tag as well. 
what may be the problem.

Thanks




---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org