Olivier Danes wrote:
> I'd like to extract all META tags into a HTML doc. I think the simpliest 
> way is to create a nsIDOMNodeIterator linked to a nsIDOMNodeFilter that 
> accepts META elements.

Or to call getElementsByTagName("meta"), or getElementsByTagNameNS (depending 
on 
what sorts of documents you're looking at)...

> here is the code snippet where I want to use the filter (doc is a 
> nsIDOMDocument) :
> 
>     nsCOMPtr<MetaFilter> filter = Which code may I put here ?;

  = new MetaFilter();

?

-Boris

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to