Hi All,
@position and @at are used to place elements within a
repeat. My problem is to place an empty repeat within the wider context.
Regards,
Laszlo
On 06.06.2012 07:53, Santosh Chandak wrote:
>
The "position" and "at" attributes can be used for ordering the elements
the way you want
The "position" and "at" attributes can be used for ordering the elements
the way you want them to be. Better way that works with xsltforms is by
using nodeset and origin. For example -
would
mean insert the nodes from origin at current node after name or code
whichever comes first. Using nodeset i
Hi László!
If you supply values for @at and @position, you can override the default
behaviour of xf:insert to control where the insertion is made. The
relevant documentation is here: http://www.w3.org/TR/xforms11/#action-insert
I have done this before but I don't have the worked example to hand
Hi,
Unfortunately, changing the schema is not an option.
Laszlo
On 05.06.2012 11:29, Ihe Onwuka wrote:
> In your position I would explore using xsd:all instead of
> xsd:sequence
> so that the elements can appear in any order in the instance or
> switch
> to a relax schema or xsd 1.1 and use i
In your position I would explore using xsd:all instead of xsd:sequence
so that the elements can appear in any order in the instance or switch
to a relax schema or xsd 1.1 and use interleave.
Operative word in the above being explore. Someone who has tried it
may advise otherwise.
On Tue, Jun 5,
Hi All,
When inserting new elements into an empty repeat the context attribute
has to be used to define the insert location. By default the inserted
element will be positioned after the last child of the context nodeset.
Is there a way to control this behaviour?
(for example an axis xpath attri