This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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: bobs@caldera.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]