On Mon, 2005-12-12 at 11:37, Jorg Heymans wrote:
> Peter Flynn wrote:
> > On Sun, 2005-12-11 at 11:03, Jorg Heymans wrote:
> >> i'm sure you could use Runtime.exec() just about anyware you like to
> >> call your shellscript. If you need the output of the shell script then
> >> i'ld put this call in a generator for example.
> >
> > Could you give an example of the syntax for doing this?
> >
>
>
> (untested, and evilness of runtime.exec ignored )
>
>
> Process p = Runtime.getRuntime().exec("cat myfile.xml");
> SAXParserFactory factory = SAXParserFactory.newInstance();
> factory.newSAXParser().parse(p.getInputStream(), contenthandler);
Sorry, what I meant was how do I get my sitemap.xmap to call this?
///Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]