There are already several threads with similar questions but I haven’t found this one: What’s the best way to compare dates in XPath 1.0 when they have different formats? For example:
<?xml version="1.0" encoding="utf-8"?>
<entries>
<entry date="2010-11-22" format="yyyy-mm-dd" />
<entry date="12.03.2014" format="dd.mm.yyyy" />
<entry date="09/30/14" format="mm/dd/yy" />
</entries>
I want to find all entries with a date > than 03/03/14. Are there any tricks to split strings and reorder the chunks according to the format line and perform the translate() trick afterwards?