![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Undefined Entity - >Thread Next - Re: Undefined Entity - Re: Undefined Entity -To: NULL Date: 7/16/2007 9:34:00 AM Another solution is to use the following in your XSL: <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> I can't think of an example of a situation where this method would be better than using  , but it works just the same. -bgano ----- Original Message ----- From: "Martin Honnen" <mahotrash@y...> Newsgroups: microsoft.public.xsl Sent: Thursday, July 12, 2007 4:54 AM Subject: Re: Undefined Entity - > > If you parse an HTML document with an HTML parser then it knows about nbsp > but a general XML parser does not know that entity unless it is declared > in a DTD. Use   instead of . Or write a DTD defining the entity > nbsp and make sure your XSLT processor uses an XML parser that processes > DTDs. > > > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
