Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Updated: July 14, 1998
Before You Install
Installation Instructions
Contents of the Installation Folder
Using the msxml.class
Re-installing the Parser
Un-installing the Parser
To install the Microsoft XML Parser in Java, you must first have a Java Virtual Machine (VM) installed on your computer.
You have a Java VM if you have
Internet Explorer 3.02
or later already installed.
We recommend that
you install the
Java SDK 2.0 from Microsoft
so you can compile
the XML Parser source code.
On Windows® 95 or Windows NT®:
To install the full package, including all the online documentation and examples with full source code for the parser, open the self-extracting installer (xmlinst.exe, last updated: July 15, 1998). You will be prompted for an installation folder, which is c:\msxml by default. If you already have a c:\msxml folder, pick a different name or delete your c:\msxml before running the installer.
On other platforms:
The newly installed folder contains the following:
API | A folder that contains the documentation for the XML object model and Parser. |
Classes | A folder that contains the XML parser classes and source code (classes/com/ms/xml). |
msxml.class, msxml.java | A class that you can run with the jview or java commands to parse XML input files. See Using the msxml.class below. |
DSO applet | A Java applet that works as an XML data provider for the Internet Explorer 4.0 data binding feature. |
Viewer applet | An example Java applet that uses the XML Parser to display a tree user interface for navigating XML data. |
Weather demo | A sample that illustrates using the C++ and Java XML Parsers from script to parse an XML weather file. |
XML samples | A collection of XML sample files and Dynamic HTML scripts that use the XML object model to format XML into HTML. |
Run msxml from the command line as follows (on platforms that do not have jview, use the java command instead):
jview msxml -d Sample1.xml
To view all command-line options, type:
jview msxml
You can specify full URLs, as follows:
jview msxml -d http://www.microsoft.com/ie/ie40/msnbc/msnbc.cdf | more
(Note: This may take a while, since this file is rather large.)
On Windows 95 or Windows NT:
The install.exe program will automatically set up your ClassPath registry settings so that you do not have to specify the class path on the command line. To see other command-line options, type: install -h.
If you need to re-install the parser on Windows, simply re-run the self-extracting installer xmlinst.exe. You can install over the top of the existing folder, or specify a new installation folder.
To un-install the parser, simply drag the installed folder to the trash can icon.
Did you find this article useful? Gripes? Compliments? Suggestions for other articles? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.