Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: extract inner xml...

From: richard@------.--.--.-- (------- -----)
To: NULL
Date: 3/17/2009 5:16:00 PM
In article <gpojuj$77l$1@s...>, Loocek  <Loocek@m...> wrote:

>A "raw" input stream of data is read by parser. It creates  objects  in 
>memory, next base on the object - we create a new "raw" stream that is 
>exactly  substring of original string. It waste memory and cpu....

Well, sometimes.  Sometimes the DOM is modified after it's read in.
Even if it isn't, perhaps it needs namespace declarations that were
not present in that fragment originally.  Hanging fragments of the
original text on to the relevant parts of the DOM just in case it gets
used is a waste of memory and cpu 99.9% of the time.

Making your case slow and the usual case fast is probably better
overall.

-- Richard
-- 
Please remember to mention me / in tapes you leave behind.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent