- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Wed, 23 Nov 2016 15:56:48 +0100
- To: "Erik Bruchez" <ebruchez@orbeon.com>
- Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Received on Wednesday, 23 November 2016 14:57:22 UTC
On Tue, 22 Nov 2016 23:23:59 +0100, Erik Bruchez <ebruchez@orbeon.com> wrote: >> Now, I'm OK with how insert works. It does a best effort. >> >> However, I'm less happy with deleting when @at is out-of-range, since >> you are losing information. >> >> Personally I'd prefer delete only to delete items if @at is in range. > > I am not sure I like the `<insert>` succeeding with "cat" much either. > And there are already ways of specifying the first and last items: > > <insert context="list" ref="item" at="1" origin="node"/> - inserts at > start Oh, and don't forget the position="before". Steven > > <insert context="list" ref="item" at="last*()" origin="node"/> - > inserts at end > > -Erik
Received on Wednesday, 23 November 2016 14:57:22 UTC