<table border="1">
<th>Title</th>
<th>price</th>
<tr>
<td>book</td>
<td>$20</td>
</tr >
<tr>
<td>book2</td>
<td>$19</td>
</tr>
</table>
silvercats 10 Junior Poster
Recommended Answers
Jump to Post— twiss 155Well, as that's downvoted, it's probably not what you want? But to answer your question, no, I'm not going to write XML for you. It's really simple and there's a lot to find about it, for example the link I posted above.
Jump to Post— ko ko 97OK. I'm not XML expert. But I can do a little bit like following.
<?xml version="1.0"?> <book> <title>XML</title> <price>$3.0</price> </book> <book> <title>HTML</title> <price>$4.0</price> </book>As understanding your table, you've only two title, and price for each book. You can add addition element such
<isbn>23232</isbn><published_date>Jun-28-2012</published_date>, ISBN …
Jump to Post— twiss 155Yes, indeed. An XML should also, however, include a single root element, such as this:
<?xml version="1.0"?> <library> <book> <title>XML</title> <price>$3.0</price> </book> <book> <title>HTML</title> <price>$4.0</price> </book> </library>
All 12 Replies
twiss 155 Veteran Poster
silvercats 10 Junior Poster
twiss 155 Veteran Poster
silvercats 10 Junior Poster
twiss 155 Veteran Poster
twiss 155 Veteran Poster
ko ko 97 Practically a Master Poster
silvercats 10 Junior Poster
ko ko 97 Practically a Master Poster
twiss 155 Veteran Poster
ko ko 97 Practically a Master Poster
silvercats 10 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.