Posted on May 14, 2008 by ubk
Storing your form submissions in XML
Usually form submissions in ASP are written to some sort of database management system. However, if you need your form submission data to be more portable, it can be written to an XML file. This is especially useful when the data you are gathering on your Web site will be [...]
Filed under: Scripts, asp | Tagged: asp, xml, parsing xml, xml database | 1 Comment »
Posted on May 14, 2008 by ubk
Hi If you need to parse a XML file in ASP Code you may use the following:
First we need a XML file named book.xml.
<?xml version=”1.0″ encoding=”utf-8″ ?>
- <configuration>
- <books>
- <book>
- <name>
- <![CDATA[ ASP and AJAX ]]>
</name>
- <description>
- <![CDATA[ This is a book for ASP and AJAX ]]>
</description>
- <author>
- <![CDATA[ Author 1 ]]>
[...]
Filed under: Scripts | Tagged: asp, script, javascript, xml, tag, parsing xml, childnodes, item, xml node, Response.write, parseError | Leave a Comment »