| -----Original Message-----
 | From: [EMAIL PROTECTED] 
 | [mailto:[EMAIL PROTECTED]
 | Behalf Of Lars Martin
 | Sent: dinsdag 31 juli 2001 12:38
 | To: [EMAIL PROTECTED]
 | Subject: Re: No xupdate:move 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?)
 | 
 | I like the second proposal. This would make the names of the elements
 | easier to remember, easier to read and shorter to write. And 
 | of course
 | we should keep the name patterns in sync (move and insert).

I also like the second proposal better because it feels more "natural". 
Does this mean that xupdate:insert element also changes to:

<xupdate:insert select="XPath" before="XPath">
  <xupdate:element name="address">
    <town>San Francisco </town>
  </xupdate:element>
</xupdate:insert>

<xupdate:insert select="XPath" before="XPath">
  <xupdate:element name="address">
    <town>San Francisco </town>
  </xupdate:element>
</xupdate:insert>

greetings,

Jeroen
----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact adminstrator:   mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to