|
From: Dejan K. <dej...@nb...> - 2003-04-11 13:33:57
|
I didn't mean it should be Journal. I tough if you just want to store document to XML database you could just create XmlDbWriterPipelineStage. No need to use Xml database Journal... Dejan ----- Original Message ----- From: "Bruce McDonald" <br...@mc...> To: "Dejan Krsmanovic" <dej...@nb...>; "Babeldoc Developers List" <bab...@li...> Sent: Friday, April 11, 2003 3:26 PM Subject: Re: [Babeldoc-devel] Re: Babeldoc... > On Friday 11 April 2003 02:38 am, Dejan Krsmanovic wrote: > > > Two points here... > > > > > > 1. The document is serialized in both the SQL and SIMPLE journals but > > > > that is > > > > > purely an implementation details. It is not necessary to do so. If you > > > > know > > > > > that the document is XML then you can just write that down to the XML > > > database as is. That is very advantageous because then you can use the > > > natural sorting / searching abilities of these databases to get at data. > > > > Maybe it would be better to have pipeline stage that writes document to XML > > database. That way you would know that your document is XML and you can > > store it as XML. > > No, because then it wont be a journal implementation - it would be something > else. Journal access must go through the IJournal interface. |