Top "Xquery" questions

XQuery is a functional language designed to query and manipulate XML data.

Updating variables in XQuery - possible or not?

I'm a little bit confused concerning variable updates in XQuery: On [1] it says: Variables can't be updated. This means you …

xquery
XQuery/XPath: Using count() and max() function for return of element with highest count

I have an XML file that contains authors and editors. <?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="file:…

xpath xquery xpath-2.0
xquery filter on attribute and element

I have the following simple XML document: <?xml version="1.0" encoding="UTF-8"?> <cars> <car> <…

xpath xquery
Execute a XQuery with PHP

How to execute a XQuery in PHP? Can you give me an example? Thank you.

php xquery
Dynamically replacing the value of a node in XML DML

I am struggling with this now: How do you replace the value of a node in an untyped XML column …

sql-server xml tsql xquery dml
XMLAGG with RTRIM issue

Currently I have the following query: SELECT CASE WHEN ('[Param.3]' = 'SELECTED') THEN (SELECT RTRIM(XMLELEMENT("Rowset", XMLAGG(RW.…

oracle xquery xmltable
xQuery - count function

Im looking to form an xQuery which returns the category of a book if this category contains more than x …

xquery
XQuery while using distinct-values()

XML File <Cities> <Place> <City n="New Delhi"></City> <City n="…

xml xpath xquery
Getting element names using XPath/XQuery

having the following XML sample document, I need to issue an XPath/XQuery expression to get the element names for …

xpath xquery
XQuery: how to properly append , in for loop

So I have xml data like this: <PhoneNumber>213-512-7457</PhoneNumber> <PhoneNumber>213-512-7465&…

xquery