Classic ASP
Classic ASP
Setting XML Tag and Content
See more XML Examples
Demonstrates how to set the tag and content of an XML node.The following XML sample code produces this output:
<abc>123</abc>
Chilkat Classic ASP Downloads
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set xml = Server.CreateObject("Chilkat.Xml")
xml.Tag = "abc"
xml.Content = "123"
Response.Write "<pre>" & Server.HTMLEncode( xml.GetXml()) & "</pre>"
%>
</body>
</html>