. selects the context node <?xgrep-match [xgrep-test1.xml]--------------------------------?> <xgrep-test name="xgrep tests" param="param2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.theborg.org xgrep-test1.xsd"> Text1 <para name="para1" type="zzz"> something <div><para name="para1b"/></div> </para> Text2 <para name="para2" type="warning"/> <chapter> <para name="para3"/> <item name="item1"/> </chapter> <olist lang="olist-lang"> <item name="item2"/> </olist> Text3 <para name="lastPara" type="warning"/> <doc> <chapter/> <chapter/> <chapter/> <chapter/> <chapter> <section/> <section> Section2 </section> <section/> </chapter> <chapter> <title name="t1">Title</title> <title name="t2">Introduction</title> <title name="t3"/> </chapter> <chapter> <title/> </chapter> <chapter/> <appendix/> </doc> <employee assistant="true" secretary="true1"/> <employee secretary="true2"/> <employee assistant="true" secretary="true3"/> <employee assistant="true4"/> <Cue> <Intensity>250</Intensity> <Intensity>150</Intensity> <Intensity>350</Intensity> <Intensity>266</Intensity> </Cue></xgrep-test>