3.0.5

Are there limitations on the XML string length?

I use the following code to generate an HTML page:
------------------
Dim strXML
strXML = "<script>table.setXML('<table>"
i = 1
Do While i <= 4 and Not rsAccounts.EOF
strXML = strXML + "<tr>" + _
"<td>" + Replace(rsAccounts("Acctid"), "'", "''") + "</td>" + _
"<td>" + Replace(rsAccounts("Name"), "'", "''") + "</td>" + _
"</tr>"
rsAccounts.MoveNext
i = i + 1
Loop
strXML = strXML + "</table>');</script>"
Response.Write strXML
-------------------
It fails when executing the setXML method asking for a closing parenthesis in themidddle of the generated string. Can I increase the size of XML string?

Thank you
Mikhail
April 14,
I cancel my request - it was a bug in the code.
Thank you.
Mikhail
April 14,

This topic is archived.

See also:


Back to support forum