PHP5 xslt omit-xml-declaration

From: Date: Thu, 08 Apr 2004 15:13:42 +0000
Subject: PHP5 xslt omit-xml-declaration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182839@lists.php.net to get a copy of this message
Does this 'omit-xml-declaration' work? (my stylesheet looks with this) <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> ....templates.. </xsl:stylesheet> All my transformation result in a document starting with <?xml version="1.0" encoding="UTF-8" standalone="yes"?> In a browser this is ok, but when trying to pass the document to Excel 2002 the first line seems to break the readingcapabillity of excel. How (if) can I lose this first line? Thanks Vincent

« previous php.general (#182839) next »