Re: xpath expr for attribute at="xpath expr" on element delete inside a repeat

Here's an example ...

<table>
  <xform:repeat id="repeatConferenceDate" 
nodeset="p:seminar/p:dates/p:dateConference">
    <tr>
      <td>
        <xform:input ref=".">
          <xform:caption class="caption2">Date:</xform:caption>
          <xform:hint>Conference Date</xform:hint>
        </xform:input>
      </td>
      <td>
        <xform:button>
          <xform:caption>Delete</xform:caption>
          <xform:delete nodeset="." at="1" evt:event="xforms:activate"/>
        </xform:button>
      </td>
    </tr>
  </xform:repeat>       
</table>   


duke wrote:

> Hi all!
>
>  
>
> If I want to design a table having the last column containing a delete 
> action (button) for the current (displayed not cursored ) row...
>
> How will the XPathexpr for attribute at on element delete look like 
> (for example at=" position(.)" )  ????
>
>  
>
> Best regards
>
> m
>
>  
>

-- 

Anthony Tomasic <http://www.e-xmlmedia.com/anthony/> 
E-XMLMEDIA <http://www.e-xmlmedia.com> 
254 Yardley Way 
Pittsburgh, PA 15206 
Tel./Fax 877 257 7054 
tomasic@e-xmlmedia.com <mailto:tomasic@e-xmlmedia.com> 
www.e-xmlmedia.com <http://www.e-xmlmedia.com> 
www.e-xmlmedia.fr <http://www.e-xmlmedia.fr> 

Received on Sunday, 21 July 2002 11:37:53 UTC