aspose file tools*
The moose likes XML and Related Technologies and the fly likes Conversion from XML to Java Custom Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Conversion from XML to Java Custom Object" Watch "Conversion from XML to Java Custom Object" New topic
Author

Conversion from XML to Java Custom Object

maria kumar
Greenhorn

Joined: Jun 17, 2007
Posts: 11
We have HTML Table structure in XML format. We want to convert this entire HTML tags into Java Bean/Custom Object.

Example :

<table id="t1">
<!-- Header Information -->
<tr>
<th>Heading1</th>
<th>Heading2</th>
<th>Heading3</th>
<tr>
<!-- Data Value -->
<tr>
<td colspan"xx">value1</td>
<td>value2</td>
<td>value3</td>
</tr>
</table>

Now we wanted to convert this XML into Custom Java class. Can you suggest me way to populate this XML of HTML tags.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
Harold's free online book is loaded with examples of extracting data from XML documents and a great general reference.

Bill
 
jQuery in Action, 2nd edition
 
subject: Conversion from XML to Java Custom Object