Hi All, -- -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
You can define this initial instance:
<xforms:instance id="fileset_inst"> <main-instance> <file filename="one.txt" mediatype="" size=""/> <main-instance> </xforms:instance> and this template: <xforms:instance id="filetemplate_inst"> <file filename="noname.txt" mediatype="" size=""/> </xforms:instance> Then render the fileset group like this: <xforms:repeat nodeset="instance('fileset_inst')"> <xforms:upload ref="file"> <xforms:filename ref="@filename"/> <xforms:mediatype ref="@mediatype"/> <xxforms:size ref="@size"/> </xforms:upload> </xforms:repeat> The action for adding a new file would be like this: <xforms:action> <xforms:insert context="instance('fileset_inst')" nodeset="file" origin="instance('filetemplate_inst')" at="last()" position="after"/> <xforms:recalculate/> </xforms:action> You can send to the xpl something like: > <main-instance> > <file filename="one.txt" mediatype="" size=""/> > <file filename="two.txt" mediatype="" size=""/> > <file filename="three.txt" mediatype="" size=""/> > </main-instance> > and your xslt can do what you need with that structure.... > in xpl: > xslt processor: > <xsl :for-each select="//file"> > <filename> <xsl:value-of select="//file/@filename"/></filename> !!!!!!UMMMM //file/@filename or better @filename!!!!! > </xsl> don't know if I have understood well your problems greetings, rich -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |