I suppose I have my answer,

I placed a relevant attribute with the following xpath:

ancestor::cac:PartyTaxScheme/cbc:CompanyID!=''

I supposed this to mean that the form field should not output the
element it was bound to if the ancestor cac:PartyTaxScheme had an
element cbc:CompanyID that was empty.

But my elements output anyway.
Cheers,
Bryan Rasmussen

On 3/21/07, Bryan  Rasmussen <[EMAIL PROTECTED]> wrote:

Hi,

I would like my xform in OO to remove empty elements from the output, I know
how to do this with recalculation in normal Xforms but it doesn't seem like I
can do it in OO (recalculation  because I have to make sure I don't output
complex elements if all of their child elements are empty) I was wondering if
I could do it either by some hack with the relevant attribute? Or, perhaps
better, by settings some attribute on my OO forms elements?

Cheers,
Bryan Rasmussen

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



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

Reply via email to