Hi all,
I'd like to read opening hours from an XML file. The UCCX version is 8.5.
The XML looks like this:
<ccdata>
<dow>
<dow6>
<open>
<from hour="8" minute = "00" />
<until hour="19" minute ="15" />
</open>
</dow6>
</dow>
</ccdata>
I simpified the file for testing, it should contain several open items later for every day of week.
I want to use an XPath expression to check if there's a open item for the current day of week and time.
I started with a simplified expression that should return the node for an hour value of 8:
//ccdata/dow/dow6/open/from[@hour=8 ]/@hour
that's working- it returns "8".
But if I change the expression to return the node for an hour value less then 9:
//ccdata/dow/dow6/open/from[@hour<9]/@hour
it returns nothing. If I enter the expression into a XPath test tool ("XPath Visualizer Tool") it looks ok.
Any ideas? Is that a bug?
Thanks in advance
Jörg