Answer Posted / g.h
The naming conventions for XML tags depend entirely on the
context in which XML is deployed. Every company, project or
collective may choose their own naming conventions. One of
the chief advantages of XML as a format is that it is
descriptive and names are chosen by whoever creates an
XML-based format.
The conventions are probably best inherited from the problem
domain for which XML is used. Say that we're modelling a
Java object in XML. If we try to mimic the structure of the
Java class as closely as possible, including field names,
then the logical choice would be the Java naming conventions.
If on the other hand we're using XML to represent a database
resultset, and columns are represented by XML tags with the
column names enclosing the column value as text, then the
best choice would be to stick to the naming conventions for
the database system.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I make my existing html files work in xml?
How do I create an xml schema in excel?
What is xml and why it is used?
What is meant by xsl formatting?
What is the structure of xml?
What is targetnamespace?
How do I run an xml file?
What do you mean by template in xslt?
How important is an element’s attributes used in xslt?
What are the advantages of using xforms over html?
What is dhtml and xml?
Which browser first used the rss feed?
How do I convert pdf to xml?
What are the nodes using which the template gets instantiated?
What is XML Signature?