Among web browser software, Internet Explorer (IE) is now a standard software. As you can see, almost every machine running a different version of the Windows operating system (and many other operating systems) uses IE. Microsoft has included the functionality of IE in implementing mature XML processing technology through ActiveX controls.
In this article, we will describe how to use ActiveX features in IE to access and parse XML documents, thereby allowing web surfers to manipulate them.
Surfing the Internet
We start with a standard sequential document, as shown in Table A. This document contains simple sequential data for browsing by web surfers. Not only to display this data, we also provide a simple user interface that anyone surfing the Internet can use to browse XML documents.
Table A: order.xml
Mighty Foobar Flange
2.50
3256
1
1111
3704.00
07/07/2002
We use a web form to Accessing this XML document, the form will display the SKU, price, quantity, subtotal for each part, and a description of each option in the sequence. Our form also contains buttons for forward and backward browsing options.
The important part of a web page is the form. We will use a table to display it on the screen in an easy-to-read manner. The following is a code snippet to display an HTML table:
SKU | |
Price | |
Quantity | |
Description | name="Description"> |