*
The moose likes Web Services and the fly likes apache digester parsing issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "apache digester parsing issue" Watch "apache digester parsing issue" New topic
Author

apache digester parsing issue

Babu Kalarikkal
Greenhorn

Joined: Dec 23, 2011
Posts: 2
hi,
anyone please suggest me a digester rule to parse the below xml with different child elements...?

<city_details>
<city_details_row>
<city_name>Hubli, Karnataka</city_name>
<city_id>329</city_id>
<airports>
<international>N</international>
<domestic>Y</domestic>
</airports>
<railway>Y</railway>
</city_details_row>

<city_details_row>
<city_name>Hyderabad, AP</city_name>
<city_id>223</city_id>
<airports>
<international>Y</international>
<domestic>Y</domestic>
</airports>
<railway>
<railway1>Hyderabad</railway1>
<railway2>Secundrabad</railway2>
<railway3>Kachiguda</railway3>
</railway>
</city_details_row>
</city_details>
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Have you made an attempt at accomplishing what you want to do?
Showing us a failed attempt will increase the understanding of the question and the chance of receiving an answer.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Babu Kalarikkal
Greenhorn

Joined: Dec 23, 2011
Posts: 2
hi Ivan,

I am new to this, while parsing a predefined xml there is not a problem , in my question there is a railway element , how can I parse using digester...?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apache digester parsing issue
 
Similar Threads
Oracle sql
subtotal using group by clause
Indian cities pi**sing contest
New York Recruiting Agencies
Canadian Airport Codes