Christian, thank you.Can you give me an example of the syntax (e.g. command + param) of the RETRIEVE command in my case?
From: Christian Grün christian.gruen@gmail.com To: mark bordelon markcbordelon@yahoo.com Cc: BaseX basex-talk@mailman.uni-konstanz.de Sent: Saturday, March 11, 2017 12:21 PM Subject: Re: [basex-talk] RETRIEVE
Hi Mark, Each resource is stored as either an XML document or a binary file (raw data) [1]. You can only retrieve resources as raw data of they have been stored as binaries. Hope this helps,Christian [1] http://docs.basex.org/wiki/Binary_Data
Am 11.03.2017 21:16 schrieb "mark bordelon" markcbordelon@yahoo.com:
I am trying to retreieve the raw xml from a document and think I should use the RETRIEVE command, right? What is the ID that I pass as the argument?Here is what I have tried with the error:
list Name Resources Size Input Path ------------------------------ ----------greek 2 2942906 latin 184 9942769 semantic 785 257685
3 database(s).> list greekInput Path Type Content-Type Size ------------------------------ ------------------------------PROSE~aristotle~Rhetoric1 xml application/xml 99387 PROSE~CONVERSATION~ GreekPrimer xml application/xml 20260
open greekDatabase 'greek' was opened in 2.9 ms.> retrieve PROSE~aristotle~Rhetoric1Resource "PROSE~aristotle~Rhetoric1" not found.