I'm trying to do execute this code from the example program.

//  const char* const       theXSLFileName =
"ftp://w1000-10.workgroup.com/pctrxml/reports/XML.xsl";;
    const char* const       theXSLFileName =
"http://sundev4.workgroup.com:82/pctrxml/reports/XML.xsl";;
//  const char* const       theXSLFileName =
"file:///vol/users/kroy/testXalan/XML.xsl";

    XalanTransformer xalan;

    const XalanCompiledStylesheet*  css = 0;

    if (xalan.compileStylesheet(theXSLFileName, css) != 0)
    {
        cout << "compileStylesheet" << "\n";
        cout << xalan.getLastError() << "\n";

        return 0;
    }

If I use http or ftp I got an error saying unsupported protocol.
If I use file:///, it works.

I wouldn't think that the http or ftp would be unsupported for sun.  But
that is 
what the error message is indicating.

Kevin

-----Original Message-----
From: Joseph Kesselman [mailto:keshlam@;us.ibm.com]
Sent: Tuesday, November 12, 2002 9:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Supported protocols


>What are the supported protocols for XSL on sun/hp?

The question is incomplete as posed... what do you mean by "protocols"?

______________________________________
Joe Kesselman  / IBM Research

Reply via email to