cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject DOM Protocol, Was: Revised ResourceLoadAction posted...
Date Mon, 17 Nov 2003 16:30:43 GMT wrote:

>If I extend it to handle request / session / application context, which 
>seem like a good idea, what syntax would be reasonable?
>or maybe one should be a little bit more specific:

request-attribute is too verbose for my taste...

>One could also have some kind of sub-protocols for choosing how the  write
>operation should be performed:

Write sub protocol is not needed, AFAIU.


If node specified by the xpath does not exist, it will be created on 
write; otherwise -- replaced. If you want to insert after specific 
node... Yes, this will require some kind of indication... What other 
options exist except using sub-protocol?


My initial though was to have following syntax:


Xpath, and '#' symbol is obviously optional, and '#' was chosen for 
consistency with existing xmldb: protocol.


View raw message