[Gambas-user] XML since rev. #5036

Adrien Prokopowicz adrien.prokopowicz at ...626...
Mon Aug 13 00:05:48 CEST 2012


Le dimanche 12 août 2012 23:07:58 Karl Reinl a écrit :
> Salut Adrien,
> 
> since rev. #5036  the attached xslt is no more a valide xml.
> Some minutes before on rev. #5019 and all the years before it did its
> job.
> 
> test :
> DIM Xsl AS NEW XmlDocument
> 	Xsl.FromString(File.Load("xml2file.xslt"))  '

Fixed in revision #5037.

By the way, why are you using the slowest and longest method to load 
a document ? :-)

You can simply do :

Dim Xsl As New XmlDocument
Xsl.Open("xml2file.xslt")

... or, even better :

Dim Xsl As New XmlDocument("xml2file.xslt")

Regards,
Adrien.




More information about the User mailing list