Since there does not seem to be a notion of instance control for
extension elements, I was wondering what would be the best approach
to pass some state information from extension element to extension element.
i.e. I am creating an extension element that will send an email message, so the element structure will be something like this
<email> <to></to> <from></from> <body></body> </email>
I want the <email> tag to set up the objects responsible to sending the email, each of the child tags will fill in the information they are responsible for, and at the conclusion of executing the child
elements of email, the email will be sent.
It could be as easy as creating some class variables in the extension element code but I am concerned about thread safety since the stylesheet will cache the one an only instance to my extension element. I could also
synchronize email but that seems a bit brute force.
Thanks John G
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
