Hi Benoit,

I have tested successfully your example with XSLTForms 1.0RC but I 
remember that I fixed an issue concerning multiple AVT for an element 
just before.

Can you please test again?

Thanks!

-Alain

Le 26/03/2012 21:53, Benoit VINCENT a écrit :
> Hi Alain,
>
> I encounter au problem with AVT when I try to use them in two differents
> attributes in the same element. In this example, I want to build a small
> menu :
>
> <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
> <html xmlns="http://www.w3.org/1999/xhtml";
> xmlns:xf="http://www.w3.org/2002/xforms";
> xmlns:ev="http://www.w3.org/2001/xml-events";>
>       <head>
>           <title>Test double AVT</title>
>           <xf:model>
>               <xf:instance id="ins_menu">
>                   <data xmlns="">
>             <menu><name>menu 1</name><url>page1.html</url><title>Navigate to
> page 1</title></menu>
>             <menu><name>menu 2</name><url>page2.html</url><title>Navigate to
> page 2</title></menu>
>             <menu><name>menu 3</name><url>page3.html</url><title>Navigate to
> page 3</title></menu>
>                   </data>
>               </xf:instance>
>           </xf:model>
>       </head>
>       <body>
>       <ul>
>         <xf:repeat nodeset="menu">
>           <li><a href="{url}" title="{title}"><xf:output
> ref="name"></xf:output></a></li>
>         </xf:repeat>
>       </ul>
>       </body>
> </html>
>
> This form don't works (error message : xf.clone is not a function) but if I
> remove the attribute title="{title}" in the<a>   element it works fine. Is
> this normal?
>
> Regards
>        Benoit
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to