XPath 1.0 date comparison with different date formats -


there several threads similar questions haven’t found one: what’s best way compare dates in xpath 1.0 when have different formats? 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 find entries date > 03/03/14. there tricks split strings , reorder chunks according format line , perform translate() trick afterwards?


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -