Dear List
Please forgive me for asking a stupid question: is it possible to not only browse, but also edit content of an xml-file with basex?
When I browse a file I can right-click node-content, but the edit/delete etc. commands are all greyed out. IMHO it would be a great feature to be able to edit stuff...
Best regards, Paull
Dear Paull,
You're very welcome to ask questions. You can update your XML data using XQuery as BaseX implements the full XQuery Update Facility. You can read more about this in the wiki at http://docs.basex.org/wiki/XQuery_Update
Sounds like you also want to edit your data directly within the GUI. This should normally be possible. If the edit/delete buttons are deactivated, then it seems to me that the internal updating flag is set to false (which basically disables you from updating the xml document). Unfortunately, I don't know why this did happen. Maybe someone else on the list could help here.
Cheers, Dirk
On Wed, Jul 4, 2012 at 9:32 PM, kaeptn haddock kaeptn.haddock@gmail.comwrote:
Dear List
Please forgive me for asking a stupid question: is it possible to not only browse, but also edit content of an xml-file with basex?
When I browse a file I can right-click node-content, but the edit/delete etc. commands are all greyed out. IMHO it would be a great feature to be able to edit stuff...
Best regards, Paull _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Paull,
as Dirk already noted, you may either use XQuery and its Update Extension, or the right-click feaure provided by our GUI. If you have smaller documents, another option is to simply open the files in the Editor and edit them as text. You'll need to create a new database from this file, however, if you want all the visualizations to reflect your changes.
Hope this helps, Christian ___________________________
On Thu, Jul 5, 2012 at 9:19 AM, Dirk Kirsten dk@basex.org wrote:
Dear Paull,
You're very welcome to ask questions. You can update your XML data using XQuery as BaseX implements the full XQuery Update Facility. You can read more about this in the wiki at http://docs.basex.org/wiki/XQuery_Update
Sounds like you also want to edit your data directly within the GUI. This should normally be possible. If the edit/delete buttons are deactivated, then it seems to me that the internal updating flag is set to false (which basically disables you from updating the xml document). Unfortunately, I don't know why this did happen. Maybe someone else on the list could help here.
Cheers, Dirk
On Wed, Jul 4, 2012 at 9:32 PM, kaeptn haddock kaeptn.haddock@gmail.com wrote:
Dear List
Please forgive me for asking a stupid question: is it possible to not only browse, but also edit content of an xml-file with basex?
When I browse a file I can right-click node-content, but the edit/delete etc. commands are all greyed out. IMHO it would be a great feature to be able to edit stuff...
Best regards, Paull _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Thank you Christian and Dirk for your helpful answers.
I'm starting to get the hang of it - but also realised that probably basex is not what I was looking for... (but it's an incredibly mighty tool for sure!)
I am looking for a program, that allows a regular user (someone who knows nothing about xml, markup, etc.) to edit content of xml-files. I don't want him/her necessarily to be able to change the structure of a file, it would be good enough to have him/her edit some contents in some nodes, save and done. For people who don't know anything about xml or markup languages, looking at the file in a regular editor is difficult. So I was hoping to find a software that is able to display it like a spreadsheet. The table-view in BaseX is pretty much what I was looking for. But editing contents in table-view of BaseX is too compex (workflow-wise) for the users I have in mind.
IMHO it would be a great niche that BaseX could fill - simply make a standalone version of the basex-tableview, improve the data-editing workflow a bit. Or, add this "easy-table-edit-functinality" as an additional view to BaseX maybe? You'd have a product on the market that so far I couldn't find anywhere (I didn't check some of the commercial products like oxygen, because their prices are exorbitant). Personally, I'd be ready to pay for it, but not as much as several hundred dollars per licence.
If anyone happens to have an idea at what other software I could try for my purpose, I would be happy to hear. best regards
paull
2012/7/5 Christian Grün christian.gruen@gmail.com:
Hi Paull,
as Dirk already noted, you may either use XQuery and its Update Extension, or the right-click feaure provided by our GUI. If you have smaller documents, another option is to simply open the files in the Editor and edit them as text. You'll need to create a new database from this file, however, if you want all the visualizations to reflect your changes.
Hope this helps, Christian ___________________________
On Thu, Jul 5, 2012 at 9:19 AM, Dirk Kirsten dk@basex.org wrote:
Dear Paull,
You're very welcome to ask questions. You can update your XML data using XQuery as BaseX implements the full XQuery Update Facility. You can read more about this in the wiki at http://docs.basex.org/wiki/XQuery_Update
Sounds like you also want to edit your data directly within the GUI. This should normally be possible. If the edit/delete buttons are deactivated, then it seems to me that the internal updating flag is set to false (which basically disables you from updating the xml document). Unfortunately, I don't know why this did happen. Maybe someone else on the list could help here.
Cheers, Dirk
On Wed, Jul 4, 2012 at 9:32 PM, kaeptn haddock kaeptn.haddock@gmail.com wrote:
Dear List
Please forgive me for asking a stupid question: is it possible to not only browse, but also edit content of an xml-file with basex?
When I browse a file I can right-click node-content, but the edit/delete etc. commands are all greyed out. IMHO it would be a great feature to be able to edit stuff...
Best regards, Paull _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de