xsl-list
[Top] [All Lists]

Re: How to produce the "XML declaration line" in the middle of a document?

2005-08-09 05:05:51

Assuming you have xsl:output method="text" then you don't need to do
anything special, you just place the string in the stylesheet as you
would any other string. As always you need to quote < and &

so for example

&lt;?xml version="1.0" encoding="UTF-8"?>


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--