IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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
 
 
subject: Getting length(no of bytes) of Dom document which is in memory
 
Threads others viewed
Mark: default encoding for deprecated methods
B&S: Invalid Stream Header
Converting Document to String
Out of Memory error
Collaboration
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture