Question: If XML attribute name itself has double quotes, then how it can be represented?
Answer: Attribute name can be represented within single quotes if double quotes are present in the attribute name.Example – <country city='Texas "US"'></country>1 <country city='Texas "US"'></country>
Attribute name can be represented within single quotes if double quotes are present in the attribute name.Example – <country city='Texas "US"'></country>1 <country city='Texas "US"'></country> Source: CoolInterview.com
Rules to Post Answers in CoolInterview.com:- There should not be any Spelling Mistakes. There should not be any Gramatical Errors. Answers must not contain any bad words. Answers should not be the repeat of same answer, already approved. Answer should be complete in itself.
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.