J
Jeff Higgins
Hi,
I would like to initialize a variable
but need help selecting the appropriate node.
How can I select
the only anchor element of a
section element,(anywhere in the document), whose only
section_header element's text is equal to "Menus"?
<chapter>
<section/>
<section/>
<section>
<anchor>3_Menus</anchor>
<section_header>Menus</section_header>
</section>
<section/>
</chapter>
Variable value would equal "3_Menus".
I've tried several expressions including,
//section/anchor[parent::section_header/text() =" Menus"],
but no luck so far.
Thanks
Jeff Higgins
I would like to initialize a variable
but need help selecting the appropriate node.
How can I select
the only anchor element of a
section element,(anywhere in the document), whose only
section_header element's text is equal to "Menus"?
<chapter>
<section/>
<section/>
<section>
<anchor>3_Menus</anchor>
<section_header>Menus</section_header>
</section>
<section/>
</chapter>
Variable value would equal "3_Menus".
I've tried several expressions including,
//section/anchor[parent::section_header/text() =" Menus"],
but no luck so far.
Thanks
Jeff Higgins