Finding surrounding element

Task

Source document

Your are at the green marked position

<document id="1">
  <content>
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      </head>
      <body>
        <div id="outer">
          <div id="inner">
            <ul>
              <li><a href="http://www.google.de/">Google</a>
                <ul>
                  <li><a href="http://earth.google.de/">Google Earth</a></li>
                  <li><a href="http://picasa.google.de/intl/de/">Picasa</a></li>
                </ul>
              </li> 
              <li><a href="http://www.heise.de/">Heise</a></li> 
              <li><a href="http://www.yahoo.de/">Yahoo</a></li> 
            </ul>
          </div>
        </div>
      </body>
    </html>
  </content>
</document>

Challenge

Resolve the id-attribute of the div-element nearest to you. The expression selected by you should work at any point within the nested list.

Desired selection (text output)

inner

Available prefix for the XPath-expression

prefixNamespace
xhttp://www.w3.org/1999/xhtml

Exercise

Your input

Eine Lösung wäre: Lösung