| -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] | Behalf Of Lars Martin | Sent: vrijdag 27 juli 2001 19:22 | To: [EMAIL PROTECTED] | Subject: Re: No xupdate:move element? | | Ok, I see this point. With this we would have to new | elements for a new | version of the WD: "xupdate:move" and "xupdate:swap". | | <xupdate:swap firstNode="XPath" secondNode="XPath"/>
I suggest the following to keep the names of the attributes in sync with other elements <xupdate:swap select="XPath" with="XPath"/> | <xupdate:move fromNode="XPath" toNode="XPath" | position="before|after"/> This position attribute is totally new, maybe it's a better idea to use something that's already there. | <xupdate:move-before firstNode="XPath" toNode="XPath"/> | <xupdate:move-after firstNode="XPath" toNode="XPath"/> I suggest the following to keep the names of the attributes in sync with other elements and use the "-before" and "-after" pattern from the insert element <xupdate:move-before select="XPath" to="XPath"/> <xupdate:move-after select="XPath" to="XPath"/> or <xupdate:move select="XPath" before="XPath"/> <xupdate:move select="XPath" after="XPath"/> it should not be possible to use "before" and "after" at the same time. Maybe this is also a good idea for the insert element? (I dont't know how open the discussion about that element is?) greetings, Jeroen ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact adminstrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------
