xml node changes don't seem to change document

D

Dan

Hi,

I created a table where I display some xml nodes which I can edit,
and the changes I make are correctly displayed in the table. For
example, with the following xml sructure

<H>
<EL0>val0</EL0>
<EL1>val1</EL1>
<EL2>val2</EL2>
</H>

the data is displayed in the table as:

col1 | col2
-----+-----
H |
EL0 | val0
EL1 | val1
EL2 | val2

I edit some values so that my table looks like:

col1 | col2
-----+-----
H |
EL0 | wbm0
EL1 | wbm1
EL2 | wbm2

The rendering and editing of nodes is done with node.getNodeValue() and
node.setNodeValue(String s). So far so good.

However if I take the document of this edited xml structure and display
the content in another table the original values are displayed again.
Saving the changed structure to file also results in the original
data to be stored.

What's next? Flying pigs singing the national anthem?

Anyone any thoughts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top