cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject Re: Getting a parser?!?
Date Wed, 10 Sep 2003 21:09:05 GMT
On Wed, Sep 10, 2003 at 09:50:18PM +0200, Mathias Wiegard wrote:
> Hi,
> I tried to get a parser over a lookup with the component manager like
> described in a excercise in the cocoon books. But meanwhile, the
> ...component.parser Interface is deprecated. Instead I should use the
> Excalibur XMLParser. So my question is: how can I get the new parser
> implementation to use it in my own generator component?

I use DOMParser but I'm sure it is quite similar:

import org.apache.excalibur.xml.dom.DOMParser;

DOMParser = ( DOMParser ) manager.lookup( DOMParser.ROLE );

	LG

-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message