Generating XML using the XML DOM (5)

Source: Internet
Author: User
Tags object object model
dom|xml| generate XML constructs ASP Web page


To create an ASP Web page, open your familiar HTML editor and enter the code in List B. Make sure the Window.navigate line points to the appropriate folder. To see how it works, open the page in Internet Explorer. Once opened, a message appears telling you that the XML has been created and that a show button appears, clicking the button and IE showing the XML document in Figure E.



Figure E: We use several different XML DOM methods to create a complete XML document

More content in the XML DOM library

As you can see in the sample code, the XML DOM contains more methods and attributes than we have described here. To find the complete XML Document Object model, please visit the Microsoft Web site. Also, how do you want to find examples of XML DOM and advanced usage of XSL and ASP, please visit www.i3solutions.com/onlinedemos.asp.

Conclusion
XML is developing rapidly, and the XML data model structure provides more functionality than the previous text-centric Web pages, and the XML Document Object model can be programmed to create XML documents for you. In this article, we made an introductory introduction to the XML DOM and demonstrated how to use the XML DOM in active Server pages.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.