I have some XML with elements that contain values with mixed data types. For example:
<someroot>
<event>
<dt>21.10.15 08:00</dt>
</event>
<event>
<dt>10:00</dt>
</event>
<event>
<dt>21/10/15 08:00</dt>
</event>
</someroot>
How can I find all the text nodes that contain only datetime values? Note that dt
elements can be at different depths and may just contain times.