Ugo Cei wrote:

[EMAIL PROTECTED] wrote:

upayavira 2004/01/13 00:44:05

Modified: src/blocks/xmldb/java/org/apache/cocoon/components/source/impl
XMLDBSource.java
Log:
Making XMLDBSource modifiable. Should be useful with Woody binding infrastructure, and can use SourceWritingTransformer to write to DB (as well as XMLDBTransformer)


You are my hero! I'm going to use this in a few minutes :-).

Great. Things to note:


I've currently implemented it so that, if the URL of a source ends with a / (i.e. refers to a collection), a new document will be inserted into the collection with a name created by the database, and the URL of the source will be changed to include the new document name. For this latter bit, see my trivial recent commit.

Also, it can currently only write at a document level. I'm sure it would be possible to write using xupdate or some such, but seeing as I don't know them yet, I'll leave that for someone else or some other time.

Regards, Upayavira


Reply via email to