Hi,

I'm trying to build a plugin that represents some information embedded in HTML document in a special way. For instance if I have HTML code like that:

<body>
        <embed type="application/mytype" src="whocares" MYPARAMID="id1" width=x 
height=y>
        </embed>
        <xml id="id1">
                <myxmltag>
                        .....
                        .....
                </myxmltag>
        </xml>
</body>

my pluging would read XML block with id "id1" and draw som stuff accordingly to the provided xml. To do so I need to get access to HTMLDomDocument object. I already done that with IE (using object tag , of cource), but I have no idea how to get grip on that object from Mozilla.

Right now I use src parameter to point plugin to external location and it works just fine, but the real goal is to read xml element from the page itself.

Cheers.
Andrei

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to