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

Re: Element type "xsl:stylesheet" must be declared

Subject: Re: Element type "xsl:stylesheet" must be declared
From: "Susan" <laborde@xxxxxxxxxxxx>
Date: Wed, 10 Dec 2003 15:44:30 -0600
xslt force space
David,
    Thank you.  My stylesheet isn't producing the results I want.  I didn't
include that entity declaration and wondered if that could be part of the
problem.  Clearly, it's not, but I wasn't sure because I didn't know why it
was there.  And I couldn't find an explanation anywhere.  Thanks so much for
your help.
    Susan

----- Original Message ----- 
From: "David Carlisle" <davidc@xxxxxxxxx>

> Normally white space nodes in a stylesheet are dropped so you can indent
> your xsl:template instructions without putting white space in the
> result, so if you want to force a space then you need to go
> <xsl:text> </xsl:text>
> as xsl:text is the one place where white space is not dropped.
> If you are doing this a lot you could define the entity above
> and just use &sp; this will expand out to the xsl:text element
> before xslt starts, and so will result in a single space in the result.
>



 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.