Inserting a Document in the Registry/Repository
This feature is a Software AG specific extension of XQJ.
To insert a document in the
1. Specify the XML instance to be inserted as a string or the reader object.
2. Execute the executeInsert() method in XQExpression to insert a document.
String insertStr = "<your xml goes here>";
(XQExpressionImpl)expression).executeInsert(insertStr);