W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1999

file input

From: Christopher J Sassons <msc37cjs@cs.bham.ac.uk>
Date: Wed, 04 Aug 1999 14:45:17 +0100
Message-ID: <37A843ED.48DA@cs.bham.ac.uk>
To: www-dom@w3.org
I hope there is someone out there who can help me.  I am trying to read
in a file called hamlet.xml using the Sun Parser.  The following code is
always throwing errors.

Can anyone tell me how to use the dom to read in files?

InputSource	input;
XmlDocument	doc;

input = Resolver.createInputSource (hamlet.xml);

 doc = XmlDocument.createXmlDocument (input, true);

Received on Wednesday, 4 August 1999 09:45:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC