Subject: Re: Control over html output
From: Alex Black <enigma@xxxxxxxxxxxxxxxx>
Date: Mon, 21 May 2001 10:27:02 -0700
|
> white space nodes in the stylesheet are stripped (unless they are in
> xsl:text) perhaps that's what is confusing you?
>
> so
>
> <xsl:value-of.../>
> <xsl:value-of.../>
> <xsl:value-of.../>
>
>
> can be indented as I like without putting any white space in the output
> but
>
> <xsl:value-of.../>,
> <xsl:value-of.../>,
> <xsl:value-of.../>,
>
> all the white space will go to the output exactly as input.
ah, got it.
is there a global "output" for a stylesheet one can set that says "preserve
whitespace" etc?
and, actually, does that mean that I have to nest xsl:text in all of my
template calls?
<xsl:template stuff>
<xsl:text>
</xsl:text>
</xsl:template>
? (which would be bad from my perspective, because I can see maybe wanting
to "globally" turn on whitespace preservation for my stylesheets if I was
debugging html output or something...
so it would be convenient to have a switch in the stylesheet tag that allows
me to globally say:
-preserve my whitespace
-nuke the whitespace and give me a clean stream
hopefully that exists...?
_alex
--
alex black, ceo
enigma@xxxxxxxxxxxxxxxx
the turing studio, inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Control over html output, (continued)
- alex black - Mon, 21 May 2001 11:23:56 -0400 (EDT)
- David Carlisle - Mon, 21 May 2001 11:48:33 -0400 (EDT)
- Alex Black - Mon, 21 May 2001 12:10:02 -0400 (EDT)
- David Carlisle - Mon, 21 May 2001 12:59:24 -0400 (EDT)
- Alex Black - Mon, 21 May 2001 13:26:11 -0400 (EDT) <=
- Michael Kay - Mon, 21 May 2001 14:06:10 -0400 (EDT)
- Alex Black - Mon, 21 May 2001 14:15:58 -0400 (EDT)
- Andy Joslin - Tue, 22 May 2001 08:29:52 -0400 (EDT)
- David Carlisle - Tue, 22 May 2001 09:12:51 -0400 (EDT)
|
|