Re: [xml] redicting parts of trees

On Tue, May 24, 2005 at 02:07:07PM +0200, Kasimier Buchcik wrote:

On Sun, 2005-05-22 at 22:04 +0200, cazic gmx net wrote:

This non-wrapper @parent argument, what exactly should be its purpose
(besides for the ns-normalization)?

1. @node was previously added to @parent, so @parent is just a flag to
   activate the non-wrapper functionality

2. unlink @node and add it to @parent, which restricts only to
   appending; add-sibling or add-prev-sibling would not work, unless
   specified somehow

3. unlink @node and don't link to @parent, linking will be done by the
   user afterwards at the desired position in the children of @parent

  I'm thinking of 3/, however if the node is already linked to parent
then don't unlink it.

4. something different? 


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]