All,

The Xerces-C sources now have an additional module called XML4COM. This
module enables you to build an ActiveX control that, when registered on your
system, enables you to access or manipulate an XML document via JavaScript
or Visual Basic for example. XML4COM builds as a separate DLL called
'xerces-com.dll' and works in conjunction with the regular Xerces
'xerces-c_1_2.dll'. The build procedure is set up to construct the DLL and
also register it in the final step.

You can show some cool demos with this module and IE 5.0. The files checked
in under 'tests/COMTest' actually contain some of these demos. This demo
allows the user to load and parse a specified XML document.  Then, through a
text box the user can navigate and manipulate the tree.  This is both a
useful example of how to walk the XML tree using the XML Object Model and a
useful tool for learning the XML Object Model.

Compatibility/Platform Compatibility:
You must be running Microsoft Internet Explorer 5 or greater on Win32 or
Unix platforms to view or host this demo.

How to build XML4COM:
It is very important to note that you cannot use regular Visual C++ 6.0 to
build this module. You need to install Microsoft Platform SDK. The
installation instructions and places from where you can download this are
given in http://xml.apache.org/xerces-c/build.html#BuildCOM  (obviously).
Please read this carefully before you complain.

The initial contribution of this code was received from John Ponzo of IBM
Watson([EMAIL PROTECTED]). Modifications to adapt it to Xerces-C were made
at the IBM Java Technology Center, Cupertino.

- Anupam Bagchi  ([EMAIL PROTECTED])
Advisory Software Engineer
IBM, Java Technology Center, Cupertino, CA 95014




Reply via email to