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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -