'Twas brillig, and Tom Sparks at 16/02/09 10:49 did gyre and gimble:
help, when I include <xsl:apply-templates/>
the XSLTProcessor only strips the XML tags and outputs the text see result
--------------cut here vehicle.xsl---------
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
XSL needs to know that you are outputting XML-derived data...
eg. try putting this before your <xsl:template....>:
<xsl:output method="html" indent="no" encoding="UTF-8"
omit-xml-declaration="yes"/>
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php