Sign In
hongmeig's WebLog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
No tags have been created or used yet.
Archive
Archives
April 2010
(1)
March 2010
(4)
July 2008
(1)
February 2008
(2)
September 2007
(3)
August 2007
(5)
July 2007
(3)
May 2007
(2)
April 2007
(2)
March 2007
(1)
February 2007
(2)
January 2007
(5)
December 2006
(2)
November 2006
(2)
October 2006
(7)
September 2006
(2)
August 2006
(3)
April 2005
(2)
December 2004
(2)
November 2004
(2)
October 2004
(1)
September 2004
(1)
August 2004
(3)
June 2004
(1)
April 2004
(2)
April, 2005
MSDN Blogs
>
hongmeig's WebLog
>
April, 2005
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
hongmeig's WebLog
Check XmlElement.HasAttributes before calling XmlElement.Attributes
Posted
over 7 years ago
by
hongmeig
0
Comments
I have tested it against Everrette. If an xmlelement you are working with doesn't contain any attributes, calling XmlElement.Attributes will trigger the system to create an empty ArrayList. The best way to avoid it is to check whether the element contain...
hongmeig's WebLog
How to traverse xmlelement.childnodes effectively
Posted
over 7 years ago
by
hongmeig
0
Comments
I have been working on the performance these days, and I want to share some tricks that you can do to reduce memory allocation significantly if the xml document you are working with is huge. Use XmlElement.FirstChild and next sidbling is a lot cheaper...
Page 1 of 1 (2 items)