I posted a cleaned version of the code I am working with:
<a href="http://ietracker.staging.informationexperts.com/framework/test.htm">
http://ietracker.staging.informationexperts.com/framework/test.htm</a>When I do:
var lesson = $(selector1 , xml);
var topics = $(selector2, lesson);
I get an incorrect result, but if I do:
var topics = $(selector1 +' '+selector2, xml);
I get the correct result.
These are the selectors:
var selector1 = 'module[ref="1002"] lessons lesson:eq(0)';
var selector2 = 'topics topic';
<br clear="all">Benjamin Sterling / Web Developer
<a href="http://kenzomedia.com">kenzomedia.com</a> / <a href="http://kenzohosting.com">kenzohosting.com</a> / <a href="http://benjaminsterling.com">benjaminsterling.com</a> / <a href="http://refreshbmore.org">refreshbmore.org</a>
443.844.7654 // Twitter @bmsterling
Skype: benjamin.sterling // AIM: thekenzoco