Single-Record Data Binding with the XML DSO

Starting in Internet Explorer 4, Microsoft has included an XML DSO expressly designed to be used with XML. This DSO is a little odd because it's not internal to Internet Explorer; instead, it's implemented as a Java applet. You can embed this applet in a page and create an XML DSO like this with the HTML <APPLET> element:

<APPLET 
    CODE="com.ms.xml.dso.XMLDSO.class"
    ID="IDNAME"
    WIDTH="0"
    HEIGHT="0"
    MAYSCRIPT="true">
    <PARAM NAME="URL" VALUE="XMLPageURL">
</APPLET>

Here, you pass the URL of the XML document as a parameter to the XML DSO applet, using the <PARAM> element; you give this DSO a name with the <APPLET> ID attribute.

In the next example, I'll put the XML DSO to work, connecting it to ch08_03.xml ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.