On Monday, 12/09/2002 at 04:31 PST, [EMAIL PROTECTED] wrote:
> I want to find out the size of this DOM in memory.  Also I want to
> find out how many items does this DOM contain?

What do you mean by "size of this DOM in memory"? Number of charactes of 
text content? Size of the actual objects? The latter is far outside XSLT's 
domain...

What do you mean by "items"? Number of nodes? Number of elements? Number 
of words in the text content? Depending on your definition we can probably 
come up with an XPath which will return that value, but you might find 
that writing a program to call the DOM APIs directly would be a good 
alternative.

______________________________________
Joe Kesselman  / IBM Research

  • Size of DOM Lahoti . Kaushik
    • Re: Size of DOM Joseph Kesselman

Reply via email to