What are the element naming conventions in XML ?

Answers were Sorted based on User's Feedback



What are the element naming conventions in XML ?..

Answer / sweety

The element naming conventions as standards we follow in
all the languages.
1. start with characters
2. no spaces and speacial chars
3. case sensitive

Is This Answer Correct ?    1 Yes 1 No

What are the element naming conventions in XML ?..

Answer / 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

What are the element naming conventions in XML ?..

Answer / sree

<document id="1234">
<content-type></content-type>
<data name="blabla" org-name="titi"></data>
</document>
xml attributes & xml elt names declare here i think this is
best way
here if use xslt sheet tags also <document-id> like ...


cheers

sree

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More XML XSLT RSS Interview Questions

What are the components of an xml file?

0 Answers  


Write a code for xml attribute and element.

0 Answers  


Why do we use vlookup?

0 Answers  


What do you mean by template in xslt?

0 Answers  


What compiler switch creates an xml file from the xml comments in the files in an assembly?

1 Answers   Siebel Systems,






Define xsl?

0 Answers  


clarify relationships of xslt with xsl

0 Answers  


Would you be able to use the xslt to convert html into vxml?

0 Answers  


What is parent in pom xml?

0 Answers  


What is xpath and xquery?

0 Answers  


How do I undeclare an xml namespace prefix?

0 Answers  


Difference between CDATA and PCDATA in XML ?

2 Answers   JNU, Satyam,


Categories