aspose 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 Java 8 in Action this week in the Java 8 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Getting length(no of bytes) of Dom document which is in memory
 
Similar Threads
Converting Document to String
B&S: Invalid Stream Header
Mark: default encoding for deprecated methods
Out of Memory error
Collaboration