Hi,

I have various things I need to be able to do with Open Office Xforms, I know
how to do these things with Xforms and other technologies in the browser but
I don't know how to do them in OO Xforms, in fact I really don't know that
they can be done via Open Office at the Xform level, of if they should be
done at the macro level or at the OO form level:

1. At the time of submission I want empty elements to be removed. This could
be complicated because I also want elements that have all empty elements to
be removed, thus the subtree shown below should be removed:

<a>
 <b></b>
 <c></c>
 <d></d>
</a>

however
<a>
 <b></b>
 <c></c>
 <d>hello</d>
</a>

should result in
<a>
 <d>hello</d>
</a>

currently, given time constraints I am thinking of handling all this in a
post processing step. But considering I am doing almost everything that is
not just the form entry outside of OO it starts to make OO seem more and more
superfluous. 

2. Can I have multiple xforms:bind elements related to the same nodeset? What
happens if I have an input shape that binds to an OO form that binds to an
xforms:bind, I fill in some value and submit. Can I have an extra xforms:bind
that relates to tha t element with constraints and calculations set for that
element? and will that xforms:bind element have its constraints and
calculations run even though it is not bound to the OO form? I am considering
this because it would make it easier for maintainers or third parties to add
extra rules to the Xform without having to change the form itself.

3. I can do calculation on the element value using xform:bind but what I
might really want to do is to have input elements that do not map to an xform
binding and to have a change in form logic dependent on how these elements
have been filled out. 

How Can I do this in OO? Is  this all maintainable at the Macro level (and
only at the macro level?). At some point if I have to do everything at the
Macro level it becomes less and less clear why one has an "Xform".

Thank You,
Bryan Rasmussen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to