06-25-2011 04:34 AM - edited 03-14-2019 08:08 AM
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
06-27-2011 08:01 AM
It must be a bug- I tried it on UCCX 7.0(1)SR03 and it's working there.
07-18-2011 12:30 PM
Was a TAC case ever opened on this and if so did they create a defect for it?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: