Is it possible to preserve the structure from an input file when
serializing its DOM-tree to an output file?
Example:
---
<book> <title>
The Clue
</title>
<chapters>
13
</chapters>
</book>
---
1. Parse XML-document. -> DOM-tree
2. Change a node value in the DOM-tree -> DOM-tree'
3. Serialize DOM-tree'
---
<book> <title>
The Clue
</title>
<chapters>
20
</chapters>
</book>
---
Thanks! (and yes, I know the indentation in the example sucks... ;)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]