[xsl] How to retrieve the element with value DIR and not the element with value TURN_DIR?

Subject: [xsl] How to retrieve the element with value DIR and not the element with value TURN_DIR?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Jan 2025 22:35:45 -0000
Hi Folks,

I want to retrieve the <row> whose <field> has the string DIR. In the
following example, I want the second <row> retrieved. Is there a simple XPath
expression to achieve this?

<Test>
    <row>
        <field>TURN_DIR, PT_TRN_DIR, NX_TRN_DIR</field>
    </row>
    <row>
        <field>DIR, DIRECTION</field>
    </row>
</Test>

Current Thread