xsl-list
[Top] [All Lists]

Re: Escape caracters

2004-05-28 08:47:21


And here is the character references...

but your quoted html did not have character references (to non-ascii
characters) it has
“
which should probably have been a double quotation mark (character  8220)
but it has been double escaped so it is instead the seven characters
& # 8 2 2 0 ;
and will display as such in the browser.

XSLT won't have done that automatically (It's rather hard to do that in
XSLT) So presumably you _input_ the characters in that form (in some
input that you have not shown us) possibly by misusing a CDATA section?

Also, your generated HTML is not a well formed document (it would be a
well formed external parsed entity)
you have two top level elements one META element and one html element.

David



-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>