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 greek*
Input Path Type Content-Type Size ------------------------------------------------------------ PROSE~aristotle~Rhetoric1 xml application/xml 99387 PROSE~CONVERSATION~GreekPrimer xml application/xml 20260
*open greek*
Database 'greek' was opened in 2.9 ms.
*retrieve PROSE~aristotle~Rhetoric1*
*Resource "PROSE~aristotle~Rhetoric1" not found.*