A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Product and Other Certifications
remove an element from xml(JDOM)
Joined: Dec 24, 2008
Jan 02, 2009 01:50:00
I want to remove an element from xml(JDOM).which method I should use?
I have tried removeChild(). It will remove only first element. So I tried removeContent(index). It also not worked.
Suppose the xml is shown below:
I want to remove the field with name f1 or f2 or f3 conditionally.
Anyone please hepl me?.
Joined: Mar 22, 2005
Jan 02, 2009 01:58:00
Please do not post the same question to multiple forums:
. Note that this forum is about XML certifications, which have nothing to do with your question.
Let's continue the discussion in this
I agree. Here's the link:
subject: remove an element from xml(JDOM)
Tranformning multiple XML docs to a single XML doc
Rendering XML in browser
About parsing with DOM ...
submit nested form ?
how to map this hierarchy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015