--- Steve Brewin <[EMAIL PROTECTED]> schrieb: > > ---> > Given... > <!ENTITY parm1 "red"> > <!ENTITY parm2 "blue"> > ...you can use &parm1; anywhere you would have coded > "red" and &parm2; > anywhere you would have coded "blue". > > In fact, can do anything that XML allows! See > http://www.w3.org/TR/REC-xml#sec-entity-decl and > http://www.w3.org/TR/REC-xml#NT-EntityRef for more. > > -- Steve > Steve, we misunderstood each other: I want to provide every mailet with access to a global parameter section. Something like <myconf> <parm1>red</parm1> <parm2>blue</parm2> </myconf>
Every mailet should gain access to that parms _AND_ I want to code it _ONCE_ in the James-config-xml. How and where? If I use mailet's getInitParameter(parm1), in my opinion I have to provide that parms within every mailetsection again. Regards, Frank __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Mit Yahoo! Suche finden Sie alles: http://suche.yahoo.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
