missing namespace in the @origin I think. @origin does not select anything
so its falling back to a default behaviour (I think). confusion!

On Thu, Jan 10, 2013 at 8:32 AM, Elias Mazur <[email protected]> wrote:

> Hi.
>
> I'm trying to use the "context" and "origin" attributes with xf:insert to
> insert blank records.  I have an instance with the fields I need to display
> empty.  The insert statement is:
>
> <xf:insert context="instance('sd-model_substance')"
> nodeset="hl7v3:component3" at="last()" position="after"
> origin="instance('sd-model_substance_empty')/component3"/>
>
> It does work but it seems to be inserting a row that is the same as the
> last on in the model used to capture the data, not the empty one referred
> to by the "origin" attribute.
>
> Any ideas?
> Thanks.
> Elias
>
>
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>
>
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to