One model, many instances, is it correct?

[email protected]
Newsgroups gmane.comp.mozilla.devel.xml
Organization http://groups.google.com
Message-ID <[email protected]>
Hello, heve a look at this piece of code:

<head>
	<title>Greenhouse Catalog Data Entry</title>
	<link   rel="stylesheet" type="text/css" href="greendb.css"/>
  	<xf:model id="model1">
    	<xf:instance src="dbview.xml" id="dbview" ></xf:instance>
	<xf:instance src="session.xml" id="session" ></xf:instance>
	<xf:instance src="workarea.xml" id="wka" ></xf:instance>
	<xf:bind nodeset="/wka/full_name"
calculate='concat(/dbview/genus_name,"aaa ",/dbview/species_name)'/>
	<xf:bind id="msg"  nodeset="/wka/message" />
	<xf:submission  id="squery" ref="instance('dbview')"
method="form-data-post" action="query.php"/>
        <xf:submission  id="sinsert" ref="instance('dbview')"
method="put" replace="none" includenamespaceprefixes="#default"
action="submit.xml"/>
	</xf:model>
</head>

I read specs carefully, nowhere this is forbidden, will it be supported
?
For one instance all works fine, for many those beyond the first become
"mute"
but no error messages. Can I plan the code this way ? (Note the
"calculate" among nodes of different instances)

Using Xforms preview 2 etc...

thanks
Luciano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.