With the
XML DSO you can embed XML data in your html pages. There are many examples
on how to use the XML DSO to embed data in your web pages. However you
should also know that accessing the data in the data islands is also
possible by using the Java Applets.
_______________________________________________
A
java applet that serves the XML data is shipped with the Internet Explorer
browser. You can use this DSO to get data from an XML file and this
data is available in the html page. All you have to do is to embed an
applet in the html page. A sample code to include an applet is given
below.
<APPLET
CODE="com.ms.xml.dso.XMLDSO.class"
ID="DS"
WIDTH="0"
HEIGHT="0"
MAYSCRIPT="true">
<PARAM NAME="URL" VALUE="yourXMLFile.xml">
</APPLET>
The 'param'
tag indicates the location where the XML data is found. The 'code' attribute
specifies the package where the code to access the XML file is available.
The XML data from the file specified in the 'param' tag is got by the
XML DSO and it parsed and this data is bound to the html page in the
areas defined.