Subject: How to produce the "XML declaration line" in the middle of a document?
From: "Khorasani, Houman" <houman_khorasani@xxxxxxxxxxxxxx>
Date: Tue, 9 Aug 2005 12:54:45 +0100
|
Hello,
I am transforming a text file with XSLT 1.0.
I would like to produce this tag <?xml version="1.0" encoding="UTF-8"?>
in the middle of an text document.
<xsl:template name="HeaderTemplate" match="/">
--vxvxv
Content-disposition: form-data; name="p_file_in";
filename="noColonsSpacesOrAmpersandsInHere.typ"
Content-type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
<xsl:copy-of select="*"/>
--vxvxv--
</xsl:template>
</xsl:stylesheet>
But XMLSpy doesn't allow that. I guess I have to escape characters like
< or ?, but I have no idea how.
Any comments?
Thanks
Houman
|