Clever idea! /tobe -----Ursprungligt meddelande----- Från: Jeroen Breedveld [mailto:[EMAIL PROTECTED] Skickat: den 17 september 2001 16:47 Till: [EMAIL PROTECTED] Ämne: alternative for introducing move operation
Hi, I've come up with a new idea for introducing a move-operation to the list of operations of XUpdate. This idea has the advantage that existing insert operations can stay the same and that there is not no need for a "append equivalent" for move operations which I overlooked a few weeks ago when there was a active discussion about the introduction of a move operation to the XUpdate operations. <xupdate:insert-before select="XPath"> <xupdate:move select="XPath"/> </xupdate:insert-before> <xupdate:insert-after select="XPath" /> <xupdate:move select="XPath"/> </xupdate:insert-after> <xupdate:append select="XPath" child="last()|first()|2" /> <xupdate:move select="XPath"/> </xupdate:append> A move would always have to be inside a insert or append element. A copy operation could also introduced this way <xupdate:copy select="XPath"/> Jeroen -- X-Hive Corporation e-mail: [EMAIL PROTECTED] phone: +31 10 7108622 http://www.x-hive.com <http://www.x-hive.com> ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------