Web Hosting, Design, & Coding forum

Question

How can I convert an XML feed into HTML?

by kaufenpreis / September 27, 2014 10:29 PM PDT

I really need some help. I have been asked to incorporate a product feed, created for Google into HTML. I can find software that converts the raw data into an HTML table, but I especially need help to convert the image link into <img src ""> and the Product link to fit around the Title. (eg <a href=""><H1>... etc)

Please could anyone recommend how I could do this, or even better a good software that will enable me to?

Many thanks in advance.

Discussion is locked
You are posting a reply to: How can I convert an XML feed into HTML?
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: How can I convert an XML feed into HTML?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Collapse -
Answer
Re: convering XML to HTML
by Kees_B Forum moderator / September 27, 2014 11:14 PM PDT

The usual way is to use XSLT and maybe some awk-scripts for what XSLT can't do.
It seems time for your boss to invest in a few courses for you to learn to use the common tools.

Kees

Collapse -
Answer
How can I convert an XML feed into HTML?
by storehippo / November 30, 2014 6:02 PM PST

Use an XSLT stylesheet to transform the XML into another format using the XslTransform class.

Collapse -
Answer
Convert XML feed into html
by Dansmiths / December 1, 2014 8:06 PM PST

Generate the XSLT transform for HTML and and change the suitable elements of the input documents.

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

FALL TV PREMIERES

Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!