xsl-list
[Top] [All Lists]

Re: Including whitespace processing instruction in XSL output

2004-12-14 12:48:36
thanks so much!
obvious solution but helpful!
got to read more!

thanks again!


On Tue, 14 Dec 2004 20:15:57 +0100, Geert Josten
<Geert(_dot_)Josten(_at_)daidalos(_dot_)nl> wrote:
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

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




--
Geert(_dot_)Josten(_at_)Daidalos(_dot_)nl
IT-consultant at Daidalos BV, Zoetermeer (NL)

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

GPG: 1024D/12DEBB50

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



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



<Prev in Thread] Current Thread [Next in Thread>