[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to produce the "XML declaration line" in the middl

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
p_file_in
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.