xquery
XQuery performance - is unordered the answer?
I have an XQuery performance question I hope someone can assist with. The code below is working fine but I would like to improve performance if possible.[详细]
2023-04-05 17:45 分类:问答Get Parent Value Using Nodes() and Value()
I have an XML document snippet that matches this XSD: <xs:complexType name=\"QuestionType\"> <xs:sequence>[详细]
2023-04-05 17:03 分类:问答Compare Xml data in SQL
I have two tables with same NVARCHAR field that really contains XML data. in some cases this really-XML-field is really same as one row in other table but differs in attributes order and therefor stri[详细]
2023-04-04 20:24 分类:问答How to save changes to input document?
I am tryinig to use a cache while generating RSS feed for a collection in eXist database. So I need to[详细]
2023-04-02 03:09 分类:问答How to returns the text() of an xml value with a space between the nodes value?
In SQL Server 2008 R2, Considering the following xml DECLARE @xml xml = \'<data><fr>Chambre standard</fr><en>Standard room</en></data>\';[详细]
2023-04-01 20:31 分类:问答Help with XPath query (count)
I want to count all descendant-or-self nodes of a certain node, but just all descendants which are lower than a certain level starting at 0. Do you have any suggestions?[详细]
2023-04-01 19:43 分类:问答how to iterate through tokenize result in xquery
In xquery, I have a unknown length string str=\"/a/b/c\" which I can split by tokenize(str, \'/\'), but what\'s the syntax to go through all the elements in tokenize result automatically based on stri[详细]
2023-04-01 17:24 分类:问答any element in XML schema blocks XQuery
I have the following XML Schema: CREATE XML SCHEMA COLLECTION test AS \' <xsd:schema xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">[详细]
2023-04-01 14:27 分类:问答Calculate a delta from list
I have this list: ADD X ADD Y REMOVE Z ADD X NO ACTION Y I need of this results: ADD X NO ACTION Y REMOVE Z The rules to calculate the delta are these:[详细]
2023-04-01 00:57 分类:问答How to lazily evaluate XQuery order by when the results are going to be a small subset anyway?
Imagine you have a large number of records inside an XQuery-based XML database: <widgets> <widget id=\"1\" name=\"Foo Widget\" price=\"19.99\" />[详细]
2023-03-31 22:28 分类:问答