Hi new to Xpath and hoping this makes sense...
Only interested in a specific element and its attribute values... the issue I'm running into is this element contains nested elements.
Please note: TASK is not the Root element...
Here's an example:
<TASK CHAPNBR="00" FUNC="000" PGBLKNBR="0" SECTNBR="00" SEQ="000" SUBJNBR="00" PGBRK="NO">
<EFFECT/>
<TITLE>Aircraft Pre-Dock</TITLE>
<TOPIC PGBRK="NO">
<EFFECT/>
<TITLE>Aircraft Exterior walk around GVI from Ground Level.</TITLE>
<SUBTASK CHAPNBR="00" FUNC="000" PGBLKNBR="0" SECTNBR="00" SEQ="000" SUBJNBR="00" PGBRK="NO">
<LIST1>
<L1ITEM PGBRK="NO">
<PARA>Radome and Fuselage</PARA>
</L1ITEM>
Only interested in the TASK element and its attributes... so need the Xpath to return this string no matter what the attribute values
<TASK CHAPNBR="00" FUNC="000" PGBLKNBR="0" SECTNBR="00" SEQ="000" SUBJNBR="00" PGBRK="NO">
Thank you for any assistance! :)