by Nils Haeck » Tue Feb 16, 2010 3:55 pm
Hello Tilen,
The "size of an element" is somewhat arbitrary, because you can ask just what exactly comprises the element: is it just the value, or also the name, size of attributes and also sub-elements, etcetera. And when an element has base64- or binhex encoded data, is it the size of the encoded data or unencoded data?
There is a method for the XmlNode when encoded with base64 or binhex, and it is called "BufferLength". You can use that method when you read/write data from the element with "BufferRead" and "BufferWrite".
Success, Nils