TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Colin Wearmouth
NA
7
0
convert xml results to html page
Dec 27 2009 12:09 PM
Hi all.
Not sure if this is the right area of the forum for this question but any help would be greatly appreciated.
I am developing a Visual basic express application to search for dvd covers online (for my personal use only). I have a text box where my search phrase is entered. Once the search button is pressed a request is sent to a site as follows:
WebBrowser1.Navigate("http://www.freecovers.net/api/search/:" & searchphrase & ":")
The site then send back some xml code which is displayed in the webbrowser as follows:
<?xml version="1.0" encoding="utf-8" ?>
- <rsp stat="ok">
- <title>
<name>Indiana Jones De Verlorenen Schatzes/Indiana Jones Und Der Tempel Des Todes GERMAN R2</name>
<id>4a1331c4e1db77f06aea63fd0147617a</id>
<added>2005-08-18 12:40:03</added>
<uploader>Guest</uploader>
<category>VHS</category>
<image>http://www.freecovers.net/thumb/0/4a1331c4e1db77f06aea63fd0147617a/preview.jpg</image>
- <covers>
- <cover>
<type>front</type>
<width>1594</width>
<height>1122</height>
<filesize>232363</filesize>
<url>http://www.freecovers.net/view/0/4a1331c4e1db77f06aea63fd0147617a/Indiana_Jones_De_Verlorenen_Schatzes_Indiana_Jones_Und_Der_Tempel_Des_Todes_GERMAN_R2-front.html</url>
<thumbnail>http://www.freecovers.net/thumb/0/4a1331c4e1db77f06aea63fd0147617a/front.jpg</thumbnail>
<preview>http://www.freecovers.net/preview/0/4a1331c4e1db77f06aea63fd0147617a/big.jpg</preview>
</cover>
</covers>
</title>
- <title>
<name>Indiana Jones And The Last Crusade WS R1</name>
<id>6b8ebc937a3156df37c04ce2d5bc2f53</id>
<added>2005-07-23 22:56:09</added>
<uploader>Max</uploader>
<category>DVD Movie</category>
<image>http://www.freecovers.net/thumb/0/6b8ebc937a3156df37c04ce2d5bc2f53/preview.jpg</image>
- <covers>
- <cover>
<type>front</type>
<width>3240</width>
<height>2175</height>
<filesize>4784440</filesize>
<url>http://www.freecovers.net/view/0/6b8ebc937a3156df37c04ce2d5bc2f53/Indiana_Jones_And_The_Last_Crusade_WS_R1-front.html</url>
<thumbnail>http://www.freecovers.net/thumb/0/6b8ebc937a3156df37c04ce2d5bc2f53/front.jpg</thumbnail>
<preview>http://www.freecovers.net/preview/0/6b8ebc937a3156df37c04ce2d5bc2f53/big.jpg</preview>
</cover>
- <cover>
<type>cd</type>
<width>806</width>
<height>800</height>
<filesize>152621</filesize>
<url>http://www.freecovers.net/view/2/6b8ebc937a3156df37c04ce2d5bc2f53/Indiana_Jones_And_The_Last_Crusade_WS_R1-cd.html</url>
<thumbnail>http://www.freecovers.net/thumb/2/6b8ebc937a3156df37c04ce2d5bc2f53/cd.jpg</thumbnail>
<preview>http://www.freecovers.net/preview/2/6b8ebc937a3156df37c04ce2d5bc2f53/big.jpg</preview>
</cover>
</covers>
</title>
</rsp>
My question, is there any way I can dynamically convert the xml results (as shown above) into an html page and display that page in the webbrowser?
thanks in advance for any help with this problem.
Colin
Reply
Answers (
0
)
Reading XML and extracting nodes to textboxes
Create XML Element with Prefix