Good abbreviations for XML ... things

Posted by Peter Turner on Programmers See other posts from Programmers or by Peter Turner
Published on 2011-01-17T18:12:49Z Indexed on 2011/01/17 18:58 UTC
Read the original article Hit count: 396

Filed under:
|

I've never been very good at maintaining a coherent bunch of variable names for interfacing with XML files because I never name the variables in my interfaces the same way across my source.

There are Elements, Attributes, Documents, NodeLists, Nodes, DocumentFragments and other stuff. What's a good scheme for keeping track of this stuff as variables?

Is there a standard in regard to Hungarian notation? Do you even put anything signifying that the data is actually XML, is this bad practice?

© Programmers or respective owner

Related posts about Xml

Related posts about variable-naming