Hi Josh,
I think the most widely used approach would be addressing items via ID — just as you would in a traditional database approach — this might involve adding IDs to all elements.
(as in, not selectable with a query)
With XPath you can select arbitrary parts of your document, maybe using XPath expressions would be helpful?
Hope this helps a bit, feel free to ask for more specific information :)
Best
Michael
Am 31.05.2019 um 20:14 schrieb Joshua Kordani joshua.kordani@speedcastwireless.com:
Greetings all.
I am curious about how basex supports the idea of modifying any given (or set of given) elements, say a user makes a query to select a bunch of elements for editing and wishes to add an attribute to an arbitrary subset (as in, not selectable with a query), how do I reference a particular element for later updating?
Sincerely, Josh