xsl-list
[Top] [All Lists]

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

2003-12-10 14:44:30
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(_at_)nag(_dot_)co(_dot_)uk>

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