Re: Xml-Xlst example dont work!
| From: | Erik Price | Date: | Fri, 28 Jun 2002 15:12:18 +0000 |
| Subject: | Re: Xml-Xlst example dont work! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104342@lists.php.net to get a copy of this message | ||
On Friday, June 28, 2002, at 10:45 AM, Remy Dufour wrote:
Here's the codeHere's your problem:
XLST file: example.xslt <?xml version="1.0" encoding="UTF-8"?> <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:stylesheet version="1.0" mlns:xsl="http://www.w3.org/1999/XSL/Transform">In the stylesheet you need to have the very first element be "<xsl:stylesheet (blah blah)". (but after the <?xml ?> PI) also, it looks like you're missing an "x" from your "xmlns:xsl" attribute in that element. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com