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

Re: Inserting attributes from one instance to another

From: Charles F Wiecha <wiecha@us.ibm.com>
Date: Fri, 23 Oct 2009 08:55:28 -0400
To: Winona Salesky <wsalesky@gmail.com>
Cc: www-forms@w3.org, www-forms-request@w3.org
Message-ID: <OF7B5A104D.164E01B7-ON85257658.0046F132-85257658.0046FED4@us.ibm.com>

Do you have an extra blank in your context xpath or is that just a
cut&paste issue?  Charlie Wiecha



                                                                                                                        
  From:       Winona Salesky <wsalesky@gmail.com>                                                                       
                                                                                                                        
  To:         www-forms@w3.org                                                                                          
                                                                                                                        
  Date:       10/23/2009 08:11 AM                                                                                       
                                                                                                                        
  Subject:    Inserting attributes from one instance to another                                                         
                                                                                                                        
  Sent by:    www-forms-request@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





graycol.gif
(image/gif attachment: graycol.gif)

ecblank.gif
(image/gif attachment: ecblank.gif)

Received on Friday, 23 October 2009 12:56:04 GMT

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