I want to select all `a` tags thats not inside `<div id="not-take-inside">....</div>` element.

```
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <div>
        <div><a href="#">TEXT</a></div>
        <div><a href="#">TEXT</a></div>
        <div><a href="#">TEXT</a></div>
    </div>
    <div id="not-take-inside">
        <ul>
            <li><a href="#">TEXT</a></li>
            <li><a href="#">TEXT</a></li>
            <li><a href="#">TEXT</a></li>
            <li><a href="#">TEXT</a></li>
            <li><a href="#">TEXT</a></li>
        </ul>
    </div>
    <div>
        <div><a href="#">TEXT</a></div>
        <div><a href="#">TEXT</a></div>
        <div><a href="#">TEXT</a></div>
        <div>
            <div><a href="#">TEXT</a></div>
            <div><a href="#">TEXT</a></div>
            <div><a href="#">TEXT</a></div>
        </div>
    </div>
</body>
</html>

```

I want to select all `a` tags thats not inside `<div id="not-take-inside">....</div>` element.

I try XPATH like `//a[parent::*[not(@id='not-take-inside')]]` not work.