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
What is the usage of xslt
What rss 2.0 files look like?
What is the XSLT?
Explain how to remove a particular attribute from XML?
How do I convert html to xml?
Explain how to rename a particular element and attribute from XML using XSL?
What is the information contained inside the xml file?
What is the extension of xslt file?
Do xml namespace declarations apply to dtds?
Which xsl type is used for navigation in xml documents?
What is an xml product feed?
How to use filtering function in xslt? : xslt
What does xsl stand for?
What is xml and css?
Is wsdl and xsd same?