A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Copying xml into another on a condition
Joined: Oct 31, 2006
Sep 04, 2009 09:55:06
I am trying to copy one XML into other but I only want to copy entire block of elements if one particular child tag exist.
So in above xml I want copy all <element> tags only if <c1> exist in that.
How do I achieve that?
Thanks in advance ,
Joined: Oct 14, 2005
Sep 04, 2009 10:09:21
With an if-statement?
You're going to have to be more specific about exactly what it is you can't do. What have you got so far?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Copying xml into another on a condition
How to remove common item between 2 ArrayList
simple example problem
Dozer-5.3.2: Assistance mapping object dependencies.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015