Welcome Guest | Sign in | Register
XML - DotNet Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com
26. What are the naming conventions required for XML elements tags?

The following are the naming conventions that need to be followed for XML elements tags:
• Element names should contain only characters, numbers, hyphens, and periods.
• Element names cannot not begin with a number or punctuation character.
• Element names must not start with the word xml (or XML, or Xml).
• Element names cannot consist spaces.
• Element names can be used any words except xml, XML, or Xml because no words are reserved in XML.

27. The XML preserves white spaces. Is it true?

Yes, it is true.

28. Explain the XML elements.

The elements are the central units of an XML document that explain and identify data. The elements are represented by the tags. You can also make your own tags, which make XML a user-friendly language. By creating custom meaningful elements, you can improve readability of the document. XML elements can be nested and the nested elements are known as child elements.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.