Hi,

I wonder what i can do about the following problem. 
I want to create a dom4j document from a org.w3c document.
The code below works fine for xml-files under the +-100k.

<CODE>
      // Parse the file to an org.w3c.dom.Document
      DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
      DocumentBuilder builder = factory.newDocumentBuilder();
      domDocument = builder.parse(new java.io.File(pathName));

      // Create an org.dom4j.Document
      DOMReader domReader = new DOMReader(); 
      document = domReader.read(domDocument); 
</CODE>

Is this a performance problem or am I using the API not correctly?
Can i go around this somehow? 
Any help is appreciated.

regards

Bram



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to