Recommended Property Tree Enhancements: Difference between revisions

Jump to navigation Jump to search
m
Line 96: Line 96:
  </PropertyList>
  </PropertyList>


* "default-value" - to enable contributors to provide sensible default values in XML files (jsbsim has this already in the form of an initial value [http://sourceforge.net/tracker/?func=detail&aid=1796992&group_id=19399&atid=369399])
* "default-value" - to enable contributors to provide sensible default values in XML files (jsbsim has this already in the form of an initial value [http://sourceforge.net/tracker/?func=detail&aid=1796992&group_id=19399&atid=369399], [http://sourceforge.net/mailarchive/forum.php?thread_name=004001c9e8b2%248bb8da20%24a32a8e60%24%40net&forum_name=jsbsim-devel])
* "value" attribute - to directly provide node values as attributes more easily in the form of "<node type="string" value="foo"/> instead of the currently required form "<node type="string">foo</node>"
* "value" attribute - to directly provide node values as attributes more easily in the form of "<node type="string" value="foo"/> instead of the currently required form "<node type="string">foo</node>"
* "description" attribute - to directly document the purpose of a node, so that documentation can be automatically created by walking the property tree
* "description" attribute - to directly document the purpose of a node, so that documentation can be automatically created by walking the property tree
2,561

edits

Navigation menu