[Gambas-user] xslt-tranformation in Gambas 2.9

Benoit Minisini gambas at ...1...
Mon Dec 1 00:16:34 CET 2008


On dimanche 30 novembre 2008, Jaap Cramer wrote:
> Hello
>
> I use the xml and XSLT.Transform routines. And they seem not te wokr
> anymore, from Gambas version 2.9. I saw on the changelog some changes, but
> I wonder how to use it correct.
>
> I want to apply al XSLT tranformation an a XSL sheet.
> Code that used to work:
>
>   DIM x_Xslt, x_Q AS NEW XmlDocument
>   DIM s as String
>
>   s = file.Load("xml/tanach/LastVerse.xml")
>
>   x_Xslt.FromString(s)
>   x_Q = Xslt.Transform(x, x_xslt)
>   s = x_Q.ToString("utf-8")
>
> ____________
>
> Any help or documentation?
>
> tnx in advance.
> Jaap
>

Can you provide a complete project and explain what does not work exactly?

-- 
Benoit Minisini




More information about the User mailing list