<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hello everybody,<br>
    I have a corpus with xml tagging, some of it pretty standard, other
    stuff homemade. I can made a search like this<br>
    <orw> []+ </orw><br>
    to recover all elements tagged <orw>.<br>
    I can also make searches targeting words or parts of speech inside a
    chapter division like this<br>
    n:[pos="AJ0"] :: n.div2_n="2";<br>
    Is there any way I can search for xml tags inside other xml tags?
    Something like<br>
    n: <orw>[]+</orw> :: n.div2_n="1";<br>
    (which doesn't work, as it is gross improvisation!).<br>
    Many thanks in advance for any help!<br>
    Best,<br>
    Graham.
  </body>
</html>