XSLT

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

XSLT

Günther Schmidt
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


Reply | Threaded
Open this post in threaded view
|

Re: XSLT

ChrisB
"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


Reply | Threaded
Open this post in threaded view
|

Re: XSLT

Günther Schmidt
Thanks Chris, that helped!

Günther