File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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?
rocket mass heater
subject: Copying xml into another on a condition
simple example problem
How to remove common item between 2 ArrayList
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-2014