File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Getting length(no of bytes) of Dom document  which is in memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Getting length(no of bytes) of Dom document  which is in memory" Watch "Getting length(no of bytes) of Dom document  which is in memory" New topic
Author

Getting length(no of bytes) of Dom document which is in memory

Ajit Kanada
Ranch Hand

Joined: Jan 23, 2001
Posts: 95
Hi
I am using JDK1.4.
I am constructing a DOM document from scratch .
How can i find the number of bytes of that document
I tried

this returns 17
also i tried

None of this is working...
How can i get the number of bytes of a DOM document..
Ajit


Thankx
Ajit
Ajit Kanada
Ranch Hand

Joined: Jan 23, 2001
Posts: 95
Hey
I found out the solution here it goes..

cheers..
Ajit
 
Consider Paul's rocket mass heater.
 
subject: Getting length(no of bytes) of Dom document which is in memory