Is there a way to use XPATH to search my xml file for TimeStamps in a certain range?
-
- Posts: 1
- Joined: Wed Nov 06, 2019 3:55 pm
Is there a way to use XPATH to search my xml file for TimeStamps in a certain range?
I have an XML document that contains elements that have an attribute TimeStamp. Is there a way to use XPATH to search my xml file for TimeStamps in a certain range?
Re: Is there a way to use XPATH to search my xml file for TimeStamps in a certain range?
Hello,
Are these Unix-like timestamps, like 1573054992, or what format do they use?
For Unix timestamps it's easy:
Regards,
Adrian
Are these Unix-like timestamps, like 1573054992, or what format do they use?
For Unix timestamps it's easy:
Code: Select all
*[xs:long(@TimeStamp) > 1573054992 and xs:long(@TimeStamp) < 1573054990]
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com