1. Copy the attached test.xml file to your C:\temp directory
2. Copy the attached TestXMLParse.exe to your Mozilla distribution directory
3. To run the program from the command line type: TestXMLParse c:\temp\test.xml
I get a "NS_WARN_IF_FALSE(NS_SUCCEEDED(rv), "Factory creation failed");"
error inside of the ParseStream call where it attempts to
create the DOM implementation object.
nsCOMPtr<nsIDOMDOMImplementation>implementation(do_CreateInstance(kIDOMDOMImplementationCID,
&rv));
Thanks,
--
Greg Thokle
<?xml version = "1.0"?> <test> <test2 name="help"/> </test>
TestXMLParse.cpp