*
The moose likes XML and Related Technologies and the fly likes empty document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "empty document" Watch "empty document" New topic
Author

empty document

slagy maggie
Ranch Hand

Joined: Feb 20, 2001
Posts: 35
How do i create an empty document using JAXP,ie i want to create my own tree structure by using create element. I also later on wanna validate this document.
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
<code> Document.createDocumentFragment()</code> should do the job, though I haven't done it myself
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
[This message has been edited by Ajith Kallambella (edited February 26, 2001).]


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: empty document