[Gambas-user] xslt-tranformation in Gambas 2.9

Jaap Cramer jaap_cramer at ...67...
Sun Nov 30 22:32:41 CET 2008


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

_________________________________________________________________
Zoek en win prachtige prijzen met Lucky Search!
http://www.luckysearch.nl/


More information about the User mailing list