W3C home > Mailing lists > Public > www-forms@w3.org > October 2009

Inserting attributes from one instance to another

From: Winona Salesky <wsalesky@gmail.com>
Date: Thu, 22 Oct 2009 22:03:49 -0400
Message-ID: <8ee07d540910221903k655d9025x107b2ea0738192cb@mail.gmail.com>
To: www-forms@w3.org
I've been using the firefox extntion for a while  and you used to be able to
insert attributes from one instance to another using the following syntax:
 <xforms:trigger appearance="minimal" ref="self::node()[not(@type)]">
    <xforms:label>Add type</xforms:label>
     <xforms:insert ev:event="DOMActivate"
context="instance('metadata')//mods:mods/
mods:titleInfo[index('titleInfo')]"
           origin="instance('template')/mods:titleInfo/@type"/>
</xforms:trigger>


This does not appear to work anymore, is my syntax wrong, or is this no
longer supported?

Thanks.

-Winona
Received on Friday, 23 October 2009 12:08:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:18 GMT