[4Suite] 0.11.x -> 0.12.0.a3 anyone?

F. GEIGER fgeiger at datec.at
Tue Oct 22 15:13:55 EDT 2002


After so much troublbes with MSXSL I decided to go back to 4Suite, which is
now of version 0.12.0. There has been quite a bit of a change between
version 0.11.0 I had used before and the new one.

Once I could write

xsltp = Processor()
xsltp.appendStylesheetString(xslString)
newHtmlString = return xsltp.runString(htmlString)

It was that easy.

Now there have to be factories asked for streams and don't know what else
for. Even the methods have changed their names. As the test suite contains
scripts with old method names, it's not easy to figure out, how things work
now. Well, at least for me.

Is anyone willing to point me to examples? At 4suite.org besides a How-to
telling how to install 4Suite on Windows I could not find samples sheding
light on 0.12.0. The same applies to 4Suite-0.12.0a3-doc.

What I want to achieve is telling the XSLT processor: Take that XHTML file,
take this XSLT file, do the transform and return the result as a string for
me. Or even better - as all files are loaded already: Take that XHTML
string, take this XSLT string, do the transform and return the result as a
string.

Many thanks in advance and kind regards
Franz GEIGER






More information about the Python-list mailing list