Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

empty document

 
slagy maggie
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic