|
Posted by Tony Marston on 06/24/06 08:44
There are two ways of transforming XML into HTML using an XSL stylesheet:
(a) on the server
(b) on the client (if your browser supports it)
If you visit http://www.tonymarston.net/sample/index.html you will see links
to my sample application which allow you to do both. You can then download
the source code to see how it's done.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"universalbitmapper" <jbmorla@gmail.com> wrote in message
news:1151096391.154650.79340@m73g2000cwd.googlegroups.com...
> Hi,
>
> I'm a newbie in XML/XSLT trying to get some HTML output from a simple
> XML source that starts with:
>
> QUOTE:
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="letter2text.xsl" version="1.0"?>
> /QUOTE
>
> I ran phpinfo();
> Here is what I gathered:
> QUOTE:
> libxml
> libXML support active
> libXML Version 2.6.22
> libXML streams enabled
>
> SimpleXML
> Simplexml support enabled
> Revision $Revision: 1.151.2.10 $
> Schema support enabled
>
> xml
> XML Support active
> XML Namespace Support active
> libxml2 Version 2.6.22
>
>
> xmlreader
> XMLReader enabled
>
>
> xmlwriter
> XMLWriter enabled
>
> /QUOTE
>
> The problem is that I keep seeing the XML source in IE6, not the
> formatted data.
>
> Your help much appreciated
>
Navigation:
[Reply to this message]
|