You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tinyxml2 has been the easiest to work with compared to many other libraries, and I thank everyone that works on it. I'm just curious about the method "NoChildren()". I'm used to using JavaScript browser DOMs which uses "hasChildNodes()". Why the difference in naming for many of the methods?
Thanks! The API is derived from TinyXML-1's API which is old but therefore established. (I think TinyXML-1 pre-dates common usage of the JS API.) There are a few names in there I wish were better, but it seemed gratuitous to change from the v1 API. Both function names and philosophy/semantics of the API differ substantially from E4X, as well.
tinyxml2 has been the easiest to work with compared to many other libraries, and I thank everyone that works on it. I'm just curious about the method "NoChildren()". I'm used to using JavaScript browser DOMs which uses "hasChildNodes()". Why the difference in naming for many of the methods?
http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/Node.html
The text was updated successfully, but these errors were encountered: