Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: RDF to HTML with XSLT

From: Martin Honnen <mahotrash@-----.-->
To: 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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent