--- Steve Brewin <[EMAIL PROTECTED]> schrieb: > Frank-Michael B�hle wrote: > > > > Question: Is there a kind of natural way to place > some > > global config information, that might be needed by > > several mailets in a kind of "global section" in > > James-config? > > Define XML entities at the start of config.xml like > this... > > <?xml version="1.0"?> > <!DOCTYPE config [ > <!ENTITY bayesianSpamRecipient > "[EMAIL PROTECTED]"> > <!ENTITY bayesianHamRecipient "[EMAIL PROTECTED]"> > <!ENTITY bayesianSpamManager > "[EMAIL PROTECTED]"> > ]> > > ...and reference them like this... > > <mailet match="RecipientIs=&bayesianSpamRecipient;" > class="JDBCBayesianAnalysisFeeder"> > > -- Steve
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? 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]
