Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - RE: RDF to HTML with XSLT >Thread Next - Re: RDF to HTML with XSLT Re: RDF to HTML with XSLTTo: NULL Date: 1/7/2005 8:53:00 PM
Jason Burr wrote:
> Using Msxml2.ServerXMLHTTP and retrieving the data then printing out the
> responseText it shows encoding as utf-8 (as supplied by the data provider).
How/where do you print out the data?
> After loading the responseText into the Microsoft.XMLDOM via the loadXML()
> and printing out the .xml data it strips out the encoding type.
The use of Msxml2.ServerXMLHTTP indicates that you are probably using
script in an ASP page, where does Microsoft.XMLDOM then come into place
which is usually used on the client?
If you receive XML with MSXML on the server and want to send it to the
client then use (VBScript pseudo code)
Dim httpRequest
Set httpRequest = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
httpRequest.open("GET", "url", False)
httpRequest.send()
If httpRequest.status = 200 Then
httpRequest.responseXML.save Response
End If
do not try to Response.Write the responseText.
If you are doing server side transformation then you can use
transformNodeToObject and use the ASP Response object as the output
object. Don't use transformNode and try to Response.Write the result.
But I am guessing, explain in more detail what you are doing, show some
code, I know you have said you have tried a lot but we will need to see
a specific attempt to tell you why it went wrong and how to change it.
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
