Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop  |  XML (Extensible Markup Language)

Microsoft XML Parser in Java -- Installation


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


Before You Install

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 Non-SBN link or later already installed. We recommend that you install the Java SDK 2.0 from Microsoft Non-SBN link so you can compile the XML Parser source code.

TopBack to top

Installation Instructions

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:

  1. Download msxml.tar.gz (last updated: July 15, 1998).
  2. Extract the file in a new folder.

TopBack to top

Contents of the Installation Folder

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.

TopBack to top

Using the msxml.class

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.

TopBack to top

Re-installing the Parser

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.

TopBack to top

Un-installing the Parser

To un-install the parser, simply drag the installed folder to the trash can icon.

HomeBack to the XML Parser in Java home page


Did you find this article useful? Gripes? Compliments? Suggestions for other articles? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site