|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Control over html output
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








