|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Stopping any processing instruction output
On 2/3/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> I am doing some transformation in PHP5, but only pieces. The > end result is containing the xml version processing > instruction, which would prefer it did not. Too true, thanks! Try adding omit-xml-declaration="yes" to xsl:output. Works like a charm, thanks! > Also, is there any way to get ride of the xmlns attribute on the div? At present this is the template that creates the div: <xsl:template match="/">
<div class="menuBar">
<xsl:apply-templates select="(key('elem-by-oid',$objectID))"/>
</div>
</xsl:template>Sam
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






