I have the following xml file
<clientes>
<cliente>
<nombre>
Juan Martinez
</nombre>
<fecha_inicio>
2016-10-2
</fecha_inicio>
</cliente>
<cliente>
<nombre>
Jose Gonzalez
</nombre>
<fecha_inicio>
2014-8-2
</fecha_inicio>
</cliente>
</clientes>
fecha_inicio
is the date the customer registered with the company.
And I want an XPath query that returns the names of clients that are more than one year old in the company.
It is something like this:
/clientes/cliente[fecha_inicio > 1 año]/nombre