Hello Eric,

> I am testing the subforms feature and I have a couple of questions.
>
> 1) I'd like to include the same subform twice in form (to handle two
> different instance nodes) and that doesn't seem to be working (the
> second subform isn't displayed). Is that a known limitation or have I
> missed something?
This is possible with XSLTForms only when there is no id conflict which 
means no id in the subform. There is an example of this at 
http://www.agencexml.com/xsltforms/books.xml for 
http://www.agencexml.com/xsltforms/writers.xml.
>
> 2) My subform has a local instance and I need to move data between the
> current node in the main form and the subform local instance. The
> context node appears to be available in the XForms controls (I can write
> <xf:output ref="."/> and the current node in the main form is displayed)
> but I don't know how to access this node in actions in the subform. Is
> there a function I can use for that?
>
>
I have to modify XSLTForms so that a local instance without an id will 
be distinct for each subform. One extra function to access this instance 
is to be added and probably another one to allow access to the current 
context in bindings.

Instead of having to launch a load action for each subform, it would be 
more convenient to add another control type, such as xf:component with a 
@ref attribute and a @resource attribute.

This does not seem difficult to do so I will tell you more soon!

What do you think?

-Alain

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to