php xpath查询来自数组的foreach url

I got a simple code that do some xpath querys and give me the result back in variable. This works so far well.

$url = 'https://www.example.com.com/test';

$dom = new DOMDocument('1.0');
@$dom->loadHTMLFile($url);

$xpath = new DomXpath($dom);

$tprice = $xpath->query('//tr/td/span/a[not(contains(text(),"eBay")) and not(contains(text(),"TEST"))]/../../../td[contains(@class, "os-total-col")]');
$seller = $xpath->query('//td/span/a[not(contains(text(),"eBay")) and not(contains(text(),"TEST"))]');

foreach($seller as $item) {
$item->removeAttribute("href");
}

$vk = $dom->saveXML($seller[0]);
$tp = $dom->saveXML($tprice[0]);

#mysql into a column ....

I also got an array filled with some urls like this:

Array
(
    [0] => Array
        (
            [0] => https://www.mydomain1.com/test
        )

    [1] => Array
        (
            [0] => https://www.mydomain2.com/test
        )

    [2] => Array
        (
            [0] => https://www.mydomain3.com/test
        )

    [3] => Array
        (
            [0] => https://www.mydomain4.com/test
        )

    [4] => Array
        (
            [0] => https://www.mydomain5.com/test
        )

)

Now I want to execute my xpath querys/function for each url from my array. I searched on stackoverflow and google for this problem but I couldnt find any solution. Maybie cause I dont know the right search-phrase for this "problem".

Have u guys a some tips or solutions for this?