Next in thread → Next in month →

Re: DOCBOOK-APPS: XSL customization layer question

From
Bob Stayton <>
Date
2002-02-27T18:48:54+00:00
ID
Thread
Re: DOCBOOK-APPS: XSL customization layer question
On Tue, Feb 26, 2002 at 05:50:30PM +0000, Dave Pawson wrote:
> At 18:32 26/02/2002 -0600, Dennis Grace wrote:
> 
> 
> >I solved this by putting a white space and *then* a carriage return after
> >the <xsl:text>.
> 
> Has anyone else chuckled when they realised what <xsl:text/> does?

Well, check out Michael Kay's XSLT Programmer's Reference
under the xsl:text element.  It gives an example of
where <xsl:text/> is useful for controlling whitespace.  8^)

Dennis also mentioned that using '>' in <xsl:if> test attributes
worked.  Kay's book points out that only '<' needs to
be escaped as '&lt;' in attribute values, and not '>'.
I guess I do both out of habit so I don't have to remember
which is which.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: 
Next in thread → Next in month →