A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
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
The shift >> doubt .......................
Shift operator doubt
Data manipulation in memory card.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014