Is this email address the equivalent of a forum post?

I know of know way to achieve this with the W3C schema rec 1.0 and I've always assumed it's impossible, but it's been such a pain for so long I thought I should at least ask if anyone knew of some clever way to achieve it. I havent read the 1.1 rec, but I believe it has some sort of context-based defns allowed. Unfortunately, I am not in a situation to be using 1.1 with any of our clients, so what I can do with 1.0 is all I have to work with.

Basically I need to define a hierarchical set of IF/ELSE/ELSEIF elements that can be used to contain children, and I need the children allowed to be whatever elements are allowed inside the *PARENT* of the IF. Because the IF/ELSE/ELSEIF can occur inside most elements in the schema, all of which have quite different content models, the only way that I know of to support these requirements is to allow IF/ELSE/ELSEIF to contain just about anything in the overall schema. That is bad for obvious reasons; it allows tons of stuff to be populated where it really has no business existing because the IF/ELSE/ELSEIF allows so much.

Does anyone know of any way to effectively have an element (in this case IF/ELSE/ELSEIF) mimic the content model of it's parent to support the requirements above, while only allowing elements that really "belong" as 'grandchildren'?
--

Regards,

steve...


--

Steve Batides

MOLTEK Inc.

mobile: 1-727-505-1473

vmail:     1-877-650-8479  x1002

batides@moltek.net

www.moltek.com


**THE CONTENT OF THIS EMAIL IS MOLTEK PROPRIETARY**

DISCLAIMER

Encryption and Viruses: This e-mail and any attachments may not have not been encrypted and therefore they may be liable to be compromised. Viruses and compromises of security are inherent risks in relation to e-mail and consequently it is your responsibility to scan this e-mail and any attachments for viruses. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or confidentiality in relation to transmissions sent by e-mail.

Confidentiality Notice: The information contained within this is confidential and is intended for the named recipients only. If you are not one of the intended recipients as indicated in the TO, CC and BCC fields, please return it to this firm by e-mail quoting the name of the sender and the addressee. Please then delete it from your system.