Suppose I have two tags <Date> and <Time> as below:

<Date>
    <Value>2008-07-07</Value>
</Date>
<TestTag>
    TestTag Text Node
</TestTag>
<Time>
    <Value>20:15:45</Value>
</Time>

How can I find whether TestTag is present in between the <Date> and
<Time> tags or not?

The <TestTag> may present any where in the document. But I want to
know whether it is present between <Date> and <Time> tags or not?

TestTag is not the only tag that exists between Date and Time tags.

Reply via email to