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

FW: ] Top Ten Java and XSLT Tips, #5

Subject: FW: ] Top Ten Java and XSLT Tips, #5
From: timw@xxxxxxx
Date: Wed, 5 Sep 2001 17:31:18 +1000
xslt t
Hi Dimitre,

I think Eric is thinking of it in terms of XHTML - so wants it as   for
browser display.

Personally, I never use anything other than   because I have never had
any problems with it being rendered in a browser other than intended. (I
generally use output method "html" for browser display)

Apparently when the output method is "xml", (for XHTML display) Microsoft
Internet Explorer 5.5 running on Windows 2000 capital letter "A" with the
circumflex accent symbol above it. 

That is the example he has given me of a place where   doesn't display
as expected in the browser.

java.oreilly.com haven't updated his changes yet, but his explaination and
example should be "updated tonight
or tomorrow morning" (in the US I imagine)

Tim Watts

> -----Original Message-----
> From: Dimitre Novatchev [mailto:dnovatchev@xxxxxxxxx]
> Sent: Wednesday, 5 September 2001 5:12 PM
> To: timw@xxxxxxx
> Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [RE:] Top Ten Java and XSLT Tips, #5
> 
> 
> > The new tip #5 in summary...
> > 
> > "Use <xsl:text 
> disable-output-escaping="yes">&amp;nbsp;</xsl:text> as an
> > alternative to "&#160;". This is particularly useful when 
> the output method
> > is "xml". The XSLT specification does not mandate that 
> processors support
> > disable-output-escaping. 
> 
> The last paragraph is not "particularly useful when the 
> output method is 'xml'. The
> result it will produce will not be a well-formed xml 
> document, e.g. the following:
> 
>         <test>
>             test1&nbsp;test2
>         </test>
> 
> An xml parser (e.g. the one used in Saxon) will complain that 
> "reference to
> undeclared entity (found "nbsp")".
> 
> Cheers,
> Dimitre Novatchev.
> 

 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.