On Thu, 29 Jul 2004 15:12:29 +0100, SpaceGirl
<NOspaceSPAMgirl DeleteThis @subhuman.net> wrote:
> John smith wrote:
>
>> Hi I am trying to insert an XML feed in to my website
>> how do I get the code to convert to html instead of raw xml on the
>> results
>> page ???
>
> You need to look into XSLT - look it up on <a style='text-decoration: underline;' href="http://www.w3schools.com/." target="_blank">http://www.w3schools.com/.</a>
> XSLT translates XML into XHTML so you can use it on a page (among other
> things).
Link doesn't work BTW...
There has been debate over the validity of the current XSLT framework at
the W3C, which is one of the reasons Opera doesn't support it. I've
talked with a few of the Opera devs and it's unlikely they will *ever*
support it.
The best way to handle an incoming XML feed, in any case, is to parse it
with a server-side script and display the output in any form you desire.
Easy and clean. If you don't have access to a server-side scripting
environment, there are probably some javascript solutions at
<a style='text-decoration: underline;' href="http://www.hotscripts.com/" target="_blank">http://www.hotscripts.com/</a>
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - Orca Knowledgebase: Completely CSS styleable
Knowledgebase/FAQ system<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: xml to html