Returning XML Documents

Once the set of documents of interest has been identified, you can use the _id value to retrieve the XML document associated with the record. The query uses the query variables query and xml. For example,

http://localhost:2222/?query={"_id":new 
ObjectId("4d484fcfe7bd792987408a76")}&xml=true

The xml=true switch causes the archive to first look up the location of the XML document using the value of _id. It then retrieves the document from the file system.


iWay Software