RE: [xsl] Top Ten Java and XSLT Tips, #5

Subject: RE: [xsl] Top Ten Java and XSLT Tips, #5
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 31 Aug 2001 17:23:01 +0200
Thomas,

how you declare non-breaking spaces in your XSLT code (&#0160; or &nbsp;)
has no effect whatsoever on it's output.


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Thomas B.
> Passin
> Sent: Friday, August 31, 2001 5:11 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Top Ten Java and XSLT Tips, #5
>
>
> It works fine.  If &#160; doesn't work for some browser, then the main
> alternative to disable-output-escaping is to declare an entity
> for &nbsp; in
> the stylesheet.  This is living dangerously, though, because some
> processors
> will insist on validating the document if there are any DTD
> declarations in
> it.  This won't work unless you include a DTD for the entire xslt
> stylesheet - very annoying.  I have this situation using XML
> Cooktop and the
> Microsoft processor.
>
> Anyone know what browsers can't understand &#160;?
>
> Cheers,
>
> Tom P
>
> [Evan Lenz]> What's everyone's impression of tip #5?
> >
> > http://java.oreilly.com/news/javaxslt_0801.html
> >
> > Ironically, the page itself appears to be well-formed XHTML!
> >
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread