-
URGENT : Changing the value of a XML node (Element)
Hey,
I am using java 2 with the oracle v2 xml parser.
My problem :
I have a parsed XML message, resulting in a refenece to a Document object.
Now I want to walk through all the nodes (recursivly) and format or change
the value of the nodes. The result should be an xml with the same structure
but with slightly changed data. The problem is when I do a
Element.setNodeValue call in java, I get an exception saying that the
nodevalue could not be changed. Doing the same but with an attribute of the
node is successfull.
I am encountering the same problem when I try to build a new XML sturcture
with the DOM. Working with attributes, no problem, but when I try to set the
value of the node, I get always the same error.
Does someone knows what the problem could be ? Could someone point me to
some java xml samples where they create an xml with the dom objects ?
Thanks for reading,
Best regards,
Frank Devliegher
Please respond to mailto:frank.devliegher@village.uunet.be and
mailto:frank.devliegher@be.arthurandersen.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|