EDN Admin
Well-known member
Hi
Is it valid to replace if( xmlDoc.OuterXml.Length!=0) with if( xmlDoc.DocumentElement!=null)?
When xmlDoc is loaded with Heavy document(~50MB), xmlDoc.OuterXml.Length throws OutofMemory Exception, so im looking for and alternative solution for this, So can i replace if( xmlDoc.OuterXml.Length!=0) with if( xmlDoc.DocumentElement!=null) ....?or
is there any better way to do this?
Thanks in advance,
Madhu Mahesh.
<br/>
<br/>
View the full article
Is it valid to replace if( xmlDoc.OuterXml.Length!=0) with if( xmlDoc.DocumentElement!=null)?
When xmlDoc is loaded with Heavy document(~50MB), xmlDoc.OuterXml.Length throws OutofMemory Exception, so im looking for and alternative solution for this, So can i replace if( xmlDoc.OuterXml.Length!=0) with if( xmlDoc.DocumentElement!=null) ....?or
is there any better way to do this?
Thanks in advance,
Madhu Mahesh.
<br/>
<br/>
View the full article