Matthew Wilson wrote:
Currently I create and register an instance of nsIURIContentListener
to listen for content of type "text/vnd.wap.wml". When I recieve
content of this type, I transform it to HTML using XSLT - but then I
don't know where to send it.

It seems to me that you would be better off using nsIStreamConverter instead of nsIURIContentListener - that way, you wouldn't have to care where the content ends up, you just convert the data of type text/vnd.wap.wml to text/html (or application/xhtml+xml or whatever) and gecko will do the rest.


This would mean that "Page Info" showed a wrong content type (text/html), but I think XSLT has the same problem.
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to