Forum Moderators: open

Message Too Old, No Replies

translate xml feed to html

         

lourlour

7:59 am on May 14, 2006 (gmt 0)

10+ Year Member



This may sound like a simple process but I'm a little
confused.

I feel much more comfortable making html type sites.
Can anyone summarize how to extract the product list in an xml feed into a flat file such as excel or notepad?
I basically have an idea, but need to put the process together.

Thanks in advance.

choster

1:31 pm on May 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



lourlour, you can convert any valid XML document into another, or to text or HTML, using a language called XSL, or Extensible Stylesheet Language. Despite the name it's a templating rather than a style language; see [xml.com...] for an overview of the process for using XML.

In practice, I imagine are many off-the-shelf scripts or plugins to take advantage of the better-known product feeds, like Froogle or Amazon, so a Google search containing the parameters of your environment (PHP, ASP, Java, etc.) and the particular feed may turn up a few options.

At a very basic level, you can style raw XML files with CSS, but to do this you must be able to add a line to the input XML so that it will request the CSS file.