I have an ASP page that uses the MSXML2.ServerXMLHTTP object to read a stylesheet from IIS as follows:
Expand|Select|Wrap|Line Numbers
- strXSLPath = "http://localhost/ej/ejdetail.xsl.asp"
- Dim oXMLHttpStyle
- Set oXMLHttpStyle = Server.CreateObject("MSXML2.ServerXMLHTTP")
- oXMLHttpStyle.open "GET", strXSLPath, False
- oXMLHttpStyle.setRequestHeader "Content-Type", "text/xml"
- oXMLHttpStyle.setRequestHeader "encoding", "UTF-16"
- oXMLHttpStyle.send()
So my question is how do I get the stylesheet to load correctly? I need to support the foreign chars but am unsure about how to load up the stylesheet with them in.
Any help will be greatly appreciated.
Thanks,
Nick.