Xml between notes databases?

Is there any reason, or is it even possible, to have a lotusscript agent in one notes database grab the contents of a document, put the field values into an xml format, and create a new document in another notes database using xml? I’m not talking about creating or importing an xml file on a server, but doing it all through one agent (grab fields, format into xml string, use xml string to create new document on another server). If possible, what are the benefits of tranfering data between two databases using xml. Does anyone have any sample code?

Thanks

Subject: xml between notes databases?

The only possible advantage to using XML in that case is that it allows you to be buzzword compliant now, while still offering you the opportunity to come back a few months later, rewrite the agent using native calls, and take credit for speeding things up by several thousand percent while bringing memory requirements down.

XML is good for what it’s good for. In most cases, it’s just a platform-agnostic way of getting data from one place to another. DXL (Domino XML) can also be a neat way of getting at parts of Notes that are difficult or messy to play with using other methods. That being said, there is a huge amount of overhead involved, so don’t use it unless you need to.