OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to execute a perl script in Java?



On Tue, 13 Mar 2001, Giota Karadimitriou wrote:

> Hello,
>
> I have been searching for a DTD to W3C Xml Schema Converter and I found a
> satisfactory tool
> but it's a perl script (dtd2xsd.pl). The problem is that I am looking for a
> Java open
> source tool or code.
> Does anybody know of such a tool? Otherwise can anybody tell me if it's
> possible to execute
> a perl script in java?

Sure, just use Runtime.getRuntime().exec(...)

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\