Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Spaces in XSLT [Thread Next] Re: Spaces in XSLTTo: NULL Date: 2/8/2005 9:23:00 AM "Oleg Tkachenko [MVP]" wrote: > Gianfranco wrote: > > >>transformNode has known encoding issues (the result is always UTF-16 > >>encoded). Use instead > >>objXML.transformNodeToObject(objXSL, Response) > >> > >>-- > >>Oleg Tkachenko [XML MVP, MCP] > >>http://blog.tkachenko.com > >> > > > > I simply replace the instruction, and it shound word, but it doesn't work. I > > get the error: > > HTTP 500 - Errore interno del server > > Internet Explorer > > > > Why? > > Don't you have any logs or debugger? That might be due to many reasons, > e.g. take a look what MSXML documentation says: > "The transformNodeToObject method always generates a Unicode byte-order > mark, which means it cannot be used in conjunction with other Active > Server Pages (ASP) Response.Write or Response.BinaryWrite calls." > > -- > Oleg Tkachenko [XML MVP, MCP] > http://blog.tkachenko.com > The error message was: Microsoft VBScript compilation error '800a0414' Cannot use parentheses when calling a Sub /wssviluppo/CapiViaggianti.asp, line 57 objXML.transformNodeToObject(objXSL, Response) ----------------------------------------------^ I removed parentheses and it works! tnx | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
