Subject: parse using DOM From: "Paul Beer" <paul.beer@xxxxxxxxxxxx> Date: Tue, 1 Feb 2000 18:53:12 -0500 |
does anyone know why this code fails : all I want to do is output the packet ..... <%@ page import="java.io.*"%> <%@ page import="org.w3c.dom.*"%> <%@ page import="org.apache.xerces.parsers.DOMParser"%> <%@ page import="org.xml.sax.InputSource"%> <% String filename = "foo.xml"; DOMParser parser = new DOMParser(filename); Document fdoc = parser.parse(); %> the error is : D:\Java\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_xml\_Dom__IBM.java: 91: Wrong number of arguments in constructor. DOMParser parser = new DOMParser(filename); XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: national characters in xml., David Carlisle | Thread | Re: parse using DOM, Herbert Hirscher |
RE: <xsl:attribute>, Carl Soane | Date | RE:, Carl Soane |
Month |