--- David Sinclair <[EMAIL PROTECTED]> wrote:

>     <xforms:submit xxforms:appearance="link">
>         <xforms:label>View</xforms:label>
>         <xforms:setvalue 
> ref="/form/ui/action">view-document</xforms:setvalue>
>         <xforms:setvalue ref="/form/ui/view-document-index" 
> value="index('docSet')"/>
>     </xforms:submit>       
> </xforms:repeat>
> 
> But I really want the label to be the name of the document ... the xpath
> would be something like: 
>
/form/document/pea/attachedDocuments/document[category='costings-document'][indewx('docSet')]/displayname
> 
> Is this possible?

Dave,

Yes, that should work. Let us know if you notice an issue with this.

Alex


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to