Pierre van Rooden wrote:
> >It is a good idea, but it is not possible right now. 
> 
> Sure it is:
> 
> <mm:listnodes type="documents">
>   <mm:node>
>     <mm:setfield name="visible">1</mm:setfield>
>   </mm:node>
> </mm:listnodes>

> 
> So by adding a <mm:node> tag IN a ndoelist tag (or a node tag with an 
> 'element' attribute in a list tag) you can set all fields of a selection.
> Add constraints as needed.

I don't think the <mm:node contributes anything at all here. <mm:listnodes
is a node-provider, so it is completely superflous.

The point is that this will issue a update query for every single node of
the list, which is not necessary in SQL.

 Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to