"Günther Schmidt" <
[hidden email]> wrote in message
news:
[hidden email]...
> Hi,
>
> I need to do some XSLT processing through Dolphin.
>
> When I tried
>
> xsl := IXSLProcessor new.
>
> I got a "Class not registered".
>
> I'm using Windows XP Pro.
>
> Does this mean the relevant dll is not yet installed on my system, or
> merely that the ActiveX Control is not registered?
>
> Any other XML stuff with Dolphin works fine though.
>
> Günther
You obtain an IXSLProcessor via IXSLTemplate>>createProcessor rather than
explicity creating it i.e.
xml := IXMLDOMDocument2 new load: 'example.xml'; yourself.
xsl := IXMLDOMDocument2 newFreeThreadedDOMDocument load: 'example.xsl';
yourself.
template := IXSLTemplate newXSLTemplate setStylesheet: xsl.
processor := template createProcessor.
processor input: xml.
processor transform.
^processor output.
Regards,
Chris