Dear All,
What is the best way to read a xml docuement in jsp going node to node. I
am not looking to transform the data, but i would like to say what node that
i want to start with.
If i had the following data
<?xml version="1.0" encoding="UTF-8"?>
<personalizedlinks>
<info>
<userid>testuser</userid>
<application>1</application>
<type>2</type>
</info>
<links>
<link>
<data1>http://www.google.com</data1>
<data2>Google</data2>
<data3></data3>
<data4></data4>
<data5></data5>
</link>
<link>
<data1>http://www.msn.com</data1>
<data2>what is this</data2>
<data3></data3>
<data4></data4>
<data5></data5>
</link>
<link>
<data1>http://www.wow.com</data1>
<data2>wow</data2>
<data3></data3>
<data4></data4>
<data5></data5>
</link>
</links>
<error>
<status></status>
<statustext></statustext>
</error>
</personalizedlinks>
I would like to start with links and read each link one by one.
Thank you very much for any answer
Daniel Jaffa
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com