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

Re: struck with space handling

Subject: Re: struck with space handling
From: subbu@xxxxxxxxxxxx
Date: Thu, 11 Jul 2002 12:59:45 +0100
Re:  struck with space handling
cheers Dave !! That Rocks


Quoting David Carlisle <davidc@xxxxxxxxx>:

> 
> >"
> 		<
> 
> That text node is not all white space because of the " so the
> whole lot gets put in the output.
> 
> The rules for white space in XSLT are really very simple, and you have
> full control over which spaces get output. All characters in a template
> get copied to the output unless they are in a text node that consists
> of just white space, in which case extra rules apply, but by default
> they do not get copied unless they are a child of xsl:text.
> 
> If you want to use white space to indent your stylesheet without
> affecting the output just always make sure all characters to be output
> are inside <xsl:text>.
> 
> 
> > <!DOCTYPE xsl:stylesheet SYSTEM
> "D:\xsl-exp\characterEntities\entityref.dtd">
> It is rarely worthwhile declaring entities in the stylesheet.
> If you do, then note that teh above is not strictly legal although some
> parsers may silently correct it for you. the SYSTEM ID should be a URI.
> You have a URI in the unknown URI scheme D: what you probably want is
> file:///D/xsl-exp/characterEntities/entityref.dtd
> 
> David
> 
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or alternatively call
> Star Internet for details on the Virus Scanning Service.
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com


 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.