> -----Original Message----- > From: Frank-Michael B�hle [mailto:[EMAIL PROTECTED] > Sent: 19 January 2004 12:34 > To: James Developers List; [EMAIL PROTECTED] > Subject: RE: newbie: Spreading common config-infos across multiple > mailets
> Oh, that sounds good. But where do I put the global > config-info for bayesianHamRecipient? Assume, it has > config-parms parm1=red and parm2=blue. Today, I would > have them like > <parm1>red</parm1> > within the mailet tag. How do I put them instead to > the > Entity-Tag? 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
