XML Transformation
I'm having some problems transforming an XML document with ASP. I'm using code nearly identical to that of a working page, yet nothing is displayed. Here is my code: Code:
Dim xmldoc, stylesheet
Set xmldoc = CreateObject("MSXML2.DOMDocument.4.0")
Set stylesheet = CreateObject("MSXML2.DOMDocument.4.0")
xmldoc.Async = False
stylesheet.Async = False
stylesheet.Load(Server.MapPath("/Global/xml/stylehtml.xsl"))
xmldoc.Load(atombody)
Response.Write xmldoc.TransformNode(stylesheet)
Set xmldoc = Nothing
Set stylesheet = Nothing
atombody holds a string that is the XML document (and it validates properly). I get no errors, but nothing is displayed on the page.
View Replies
i am doing xml transformation in asp server side js. The xml is returned by javaserver. when the xml is of small size it works fine but for larger size xml it tends to wait for all transformation and then displays all the data at once.
Do we have something like flush with transformation which enables the data displya similiar to flush.
View Replies
View Related
I'm using ADODB.Stream to open a binary file on the server and write
it down to the browser using Response.BinaryWrite. It's working fine,
but i need to make some changes to the binary data before it is send
to the browser.
I'm trying to use REPLACE, but it's not finding a string that i know
it's in the binary file. Using InstrB i've found that the search
inside the binary data is being done in a Unicode format, but i don't
know how to make an ascii search&replace operation on binary data.
View Replies
View Related
| was reading about site optimization and saw that it's best for web-spiders that scan your website for search engines, that all the links will not have suffixes (?....), they gave an example:
instead of www.myWebSite.com/login.asp,
to have www.myWebSite.com/login/.
It says that the address resolution can occur at server side.What ASP trick do i need to "catch" an incoming address to my server ? i guess from there i can do simple forward to the desired page or a proper "404" page, but how?
View Replies
View Related