[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Control over html output

Subject: Re: Control over html output
From: Alex Black <enigma@xxxxxxxxxxxxxxxx>
Date: Mon, 21 May 2001 10:27:02 -0700
black space in xsl
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.