This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Getting length(no of bytes) of Dom document which is in memory
 
It's not a secret anymore!