Re: [xsl] Including whitespace processing instruction in XSL output

Subject: Re: [xsl] Including whitespace processing instruction in XSL output
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Tue, 14 Dec 2004 20:15:57 +0100
With the hazard of stating the obvious:

<xsl:processing-instruction name="whitespace-handling">use-tags</xsl:processing-instruction>

Cheers,
Geert

Sergio Morales wrote:

Hi all,

I need to generate an XML file using XSLT that includes the following
as part of its output content:

<?whitespace-handling use-tags?>

this text needs to go before the root element in the XML doc.

I cannot figure out how to output this in the XSLT, I have tried
different ways but always get an error message that this is not
allowed where I need it.

my last option so far is to run the transformation and then open
the file and isert the line where I need it, but don't really want to
do that.... any ideas?

thanks

Sergio




-- Geert.Josten@xxxxxxxxxxx IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50

Current Thread