Archived Forum Post

Index of archived forum posts

Question:

Chilkat.XML Flush data on the fly

Oct 07 '14 at 11:05

Is there any method to flush data 'on the fly' to the browser when creating XML files with Chilkat.XML ActiveX component? Now with big data i reached the buffer limit from IIS.

Like pseado-code:

Response.ContentType = "text/xml"
Response.Charset = "UTF-8"

set xml = Server.CreateObject("Chilkat.Xml")
xml.Encoding = "UTF-8"
xml.Tag = "Products"
xml.AddAttribute "version", "1.0"

'Query database with many results
Do While NOT RS.EOF
Set xml = xml.NewChild("Product", "")
xml.NewChild2 "xxx", RS("XXX")
...
xml.GetParent2()
xml.Flush '<-- looking for something like this

Loop