Im new to BaseX so I apologize if my question sounds silly. I was looking for a tool where I can simply run xquery on an xml with ease so I found your tool basex which seems very powerful and probably overkill to what Im trying to do because I noticed the complexity with the steps I have to take in order to add new xml by creating new database ...etc. Anyway I managed to create the "database" with single xml file, I copied and pasted my xquery on the editor labeled as file and click the green run button and it worked the first time, I opened the xml file and made a change to get different result but every time I ran the query I get the same result as the first time like nothing was changed! so after spending a lot of time I noticed if I right click on the xml file then click "Set as Context" then I will get the updated result! My question is , do I have to do that every time I change and save the xml? Im trying to test my xquery on different input scenarios.
1
There are 1 best solutions below
Related Questions in BASEX
- Convert HTML strings in JSON input to XML nodes
- Run xquery on updated xml file
- XQuery "except" expression is not producing a desired result
- Location of CSS files for web applications
- How to include HTML5 DOCTYPE in HTTP response
- namespace prefix not declared basex
- Issue with BaseX XQuery content:unable to add an attribute, and I don't know how to add tags, just know how to add values
- How to send a xquery to a BaseX database via http
- How does a person work with the BlastXML2 namespace on import?
- how to query the result of fn:analyze-string()?
- How to set initial password in BaseX
- I got an Invalid XQuery syntax, syntax does not pass static validation error working with java
- Database "test" is being updated or update was not complited
- Send HTTP Request from local server to remote server
- BaseX close Spring Boot classloader
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
BaseX can be used with and without database instances. If you use the “Set as Context” feature in the GUI, you don’t need to create a database from your documents, as all queries will be executed on your local file.
If you do create a database, the database contents will exist separately from your input documents, and you can use XQuery Update and the functions from the Database Module to modify the database contents.