There are no plug-ins that support XQuery natively. I'm curious as to why XPath isn't powerful enough. Or is it just that you would rather use XQuery over XPath?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys,
I need to retrieve data from XML file and I want use XQuery. I wonder if Jameleon support XQuery language? If yes, how I can use it?
Thanks.
There are no plug-ins that support XQuery natively. I'm curious as to why XPath isn't powerful enough. Or is it just that you would rather use XQuery over XPath?
I don't have any preferences between XPath and XQuery, I just don't know if an XPath support aggregate function like XQuery does. Does it?
Can you give me an example?
Something similar like fn:count((item,item,...)) which will returns the count of nodes.
That function actually comes from XPath.
http://www.w3.org/TR/xpath#function-count
http://www.w3schools.com/xpath/xpath_functions.asp
I think you'll find that all of the functions in XQuery actually come from XPath (unless they are custom functions you defined in XQuery).