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
