Hi list. Could somebody enlighten me what i'am doing wrong here?

I want to get all the "<b>" tags (with their full content/children)
out of a block of html (as a string)...

************************
var foo = qx.bom.Collection.html('<a><b></b><div/><b><script/></b><a>');
bar = foo.filter("b");
bar.forEach(this.doSomething);
************************

When i debug this _foo.length_ is "3", which i totaly don't get and
_bar.length is_ "0".

Is this not the right way to do it? I looked at Element.useMarkup, but
this seems limited to single html elements, not trees.

Thanks in advance,
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to