Hi David,

David Bertoni <[EMAIL PROTECTED]> writes:

> But finding the lengths of the individual nodes will mean checking every
> unit in each string, which could be very expensive.

Not necessarily. The length is cached by the DOMCharacterData (base
of DOMText) and can be accessed by calling getLength().

Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to