Hi Marc,
just a short follow-up to Elemdin's reply: in the GUI the Text View (Menu: View -> Text) has a little floppy icon at the top right, you may use this one to save results directly in the GUI.
Hope this helps
Michael
Am 13.08.2011 um 07:09 schrieb Elmedin Dedovic:
Hello Marc,
maybe the function [1] file:write($path, $items) can be helpful to you.
Example: (: filtering - replace KEYWORD with your keyword:) let $items := /descendant::*:KEYWORD | /descendant-or-self::*[@name contains text "KEYWORD"] | /descendant-or-self::*[text() contains text "KEYWORD"] (: write the result :) return file:write("/basexExport.xml", $items)
Best regards, Elmedin
[1] http://docs.basex.org/wiki/File_Functions#file:write
On Aug 13, 2011, at 6:40 AM, yatr_98@yahoo.com wrote:
Hello,
I am new to BaseX and have a question regarding the Export XML feature. After doing a keyword search and filtering my results, I would like to export this filtered data into a new XML file. Selecting Export XML, it prompts me to save it to the same .xml file. However the results are not saved. Any help would be appreciated.
Thanks.
Marc _______________________________________________ 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