Re: JS entity problem

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Rojek Piotr wrote:

> So how can i process him code to display?
> Do i have to include in every element namespace declaration? Or is 
> there a way to set a different parser? Any idea?

If you're writing an extension then there might be a way of initialising 
the parser with the xhtml dtd but I wouldn't know how to do that. One 
possibility would be not to use <![CDATA[ .. ]]> blocks for those 
strings that include xhtml entities. Another idea would be to have a 
collapsed frame without anything loaded into it, then if you set 
frames[0].document.body.innerHTML and read it back the new value won't 
contain xhtml entities.

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.