* Jason wrote: >I am using xml to describing user parameters, and by the helping of a XSLT >file, the user parameters will be turned into a C code. So, I didn't want ><?xml version="1.0"?> appear in the file generated by xmlSaveFormatFile.
I think you have the following options: * Use the <xsl:output omit-xml-declaration='...' /> attribute * Transform to a document and serialize it according to your needs * Mess with _xsltStylesheet.omitXmlDeclaration at your risk Note that the XML declaration cannot be omitted in certain cases, e.g. if you use a non-UTF character encoding. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
