Re: Stopping any processing instruction output
> 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>
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