` ` `` but my result is this the count is=1 1 1 i want the answer is equal to 3 ...
` ` `` but my result is this the count is=1 1 1 i want the answer is equal to 3 ...
I've a requiremnet to generate dynamic elements and values based on two xmls. How can I achieve using XQUERY. I have data like in two xmls: Expect ...
I am trying to replace text node with element if document matches that text, below query I have tried but it is giving error "Target is not an element ...
I want to count occurrences of the words in the XML document, query giving the actual count but it is working slow. There are only two xml files size ...
I am getting JSON output from an API in an array format(for multiple records) and in object format for a single record. Instead consumer wants to main ...
Trying to remove all elements with attribute onlyChannels="print" from XML Using XQuery the element with onlyChannels="print" can be anywhere and at d ...
I need to wrap all plain text chunks with paragraphs, but there could a nested paragraph which should be skipped. How would I tackle this? I'm having ...
I faced a problem with functx module dealing with strings with end of line characters. The following code should work (?) However it gives a failur ...
I'm trying to transform a big number of xmls to a single csv file. A simplified structure of the xml would look like this: And the csv result that ...
This has to be a noob issue, as I'm just starting with XQuery. I was successfully able to build a simple XQuery for eXist that runs an XSL transform. ...
I'm just starting to learn XQuery and I want that it shows me the number of festivals with genre (genero) is the same as "metal". I can't get the tota ...
This will not even raise a warning: Why would a (functional) programming language allow variable re-declarations? I really just want to get the rat ...
Might not be difficult, but i cannot find the correct command and syntax: I have a BaseX database opened that holds several XML documents: looks l ...
I noticed subtle differences how XQuery implementations handle (sub-)types. Especially, handling of literal numbers as input to functions that have th ...
I am searching for a good solution (short expression, best performance) to get the reverse order of all ancestor nodes with XQuery 3.1 on BaseX. Now ...
The XPath 3.1 transform functions allows you to apply templates or call a named template or call a stylesheet function. However, when I try to use an ...
I have an eXist-db with a collection of XML documents. All documents have a namespace in the top node which looks like this When I try to query th ...
I'm maintaining a legacy tool of the company I work for written in C# and I'm converting it to .Net standard 2.0. It uses the Saxon-HE processor to pr ...
I am writing a Porter stemmer in xQuery and as the first step I need to match consonant and vowel patterns. The consonant matching sequence from the P ...
https://www.w3.org/TR/xpath-functions/#func-tokenize explains about the single argument version of tokenize: The one-argument form of this functio ...