Duuuh! You're right. I guess after looking at the same code for hours you
don't see little things like that anymore :-(
Thanks for catching. It works fine now.
On Wed, Jan 9, 2013 at 4:58 PM, Stephen Cameron
<[email protected]>wrote:
> 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
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support