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 7:45:00 PM "Jason Burr" <JasonBurr@d...> wrote in message news:00A280D4-63FB-4057-9B68-999FA0FE36ED@m...... > Ok esplain this to me por favor. I don't get it. > > Using Msxml2.ServerXMLHTTP and retrieving the data then printing out the > responseText it shows encoding as utf-8 (as supplied by the data > provider). > > After loading the responseText into the Microsoft.XMLDOM via the loadXML() > and printing out the .xml data it strips out the encoding type. > > Whats more puzzeling is that everything I have read seems to say that the > dom will default to utf-8 so why would it have stripped the encoding and > not > work with it (the xsl)? > > Also for whatever reason I can not get resonpseXML to work in loading the > dom only responseText. I tried Set oXML = oXHTTP.responseXML and oXML = > oXHTTP.responseXML and loadXML(oXHTTP.responseXML) the list goes on to no > avail. At best I get nothing (though there is clearly an error) and at > worst > it errors out. (where oXML is Microsoft.XMLDOM and oXHTTP is > Msxml2.ServerXMLHTTP) > > Why on gods green earth would the dom alter the contents of the xml loaded > into it without some explicit declaration to do so? Further what can I do > to > avoid this. I realize that this has strayed off topic some but since it > started here..... > > > Try using the latest versions, msxml2.serverxmlhttp.4.0. How do you know the encoding declaration is stripped? Showing dom.xml aways shows in utf-16 without a declation because it's a string. Joe (MVP-XML) | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
