GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  XML
Go To First  |  Previous Question  |  Next Question 
 XML  |  Question 26 of 40    Print  
What are the rules for making a tag name in XML?

  
Total Answers and Comments: 4 Last Update: August 24, 2007     Asked by: janelyn 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 06, 2007 06:02:19   #1  
vaibhav        

RE: What are the rules for making a tag name in XML?
Rules remains the same as for any standard C/C++ or any other programming language. Tag name can't start with any special character or contain numeric value. There is no theoritical limit on the size of variable name.

-Thanks
Vaibhav

 
Is this answer useful? Yes | No
April 22, 2007 14:46:58   #2  
nits123 Member Since: April 2007   Contribution: 4    

RE: What are the rules for making a tag name in XML?
Can a tag name have a space in it ?
 
Is this answer useful? Yes | No
May 29, 2007 02:42:21   #3  
Vijay anand        

RE: What are the rules for making a tag name in XML?
Tag names can't have spaces in it.
 
Is this answer useful? Yes | No
August 23, 2007 19:13:38   #4  
SS        

RE: What are the rules for making a tag name in XML?
Rules for making a tag name are
1.It should start with a letter or underscore(_)
2.There are no reserved words but however xml(in any case) should not be used as a tag name
3.It can include digits hyphen periods ':' can be used but best avoided because it is used for the namespace.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape