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
Meteor in Action
this week in the
XML and Related Technologies
How to read XML node hierarchy
Joined: Mar 05, 2009
Jan 02, 2012 03:06:30
Suppose there is a XML file
<File> <A> <B>1</B> <C>2</C> <D>3</D> <A> </File>
I have to print the whole A tag on the screen.
Is there any way to print these element as they appear in file.
Output should be like this
<A> <B>1</B> <C>2</C> <D>3</D> <A>
I agree. Here's the link:
subject: How to read XML node hierarchy
Data manipulation in memory card.
The shift >> doubt .......................
Shift operator doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015