Best Practices for Elmax

  • Prior to opening and reading a XML file, it is important to check that the file exists at the path location.
  • When setting the value of an element, the element will be created automatically. However, when an attribute is set on an element which does not exist, exception will be thrown. It is a good practice to check the element exists (using the Exists method) before setting its attribute.

Last edited Nov 4, 2011 at 3:47 AM by shaovoon, version 2

Comments

No comments yet.