Hi there,

If you don't want to add those to the XML representation/document, you can
create a subordinate resource to will handle those metadata.

/path/document/345          -> URI of the document resource
/path/document/345/about -> URI of the metadata about the parent document

Best regards,
Jerome


2007/11/8, stack leet <[EMAIL PROTECTED]>:
>
> Hello All,
>
> In my last post I mentioned that I want to create a web service
> > which stores and retrieves XML documents.  Thanks to Thierry reply about
> DOMRepresentaion I now have a basic system running.  A user can save a
> document
> with save(Document DOM) and fetch a document using fetch(Document DOM).
> However along with my response (which is an XML document) I also want to
> add in
> some metadata about the author of the document/time it was
> created/etc.  How do
> I add this meta data into the response without modifying the original XML
> document?
>

Reply via email to