what are the most common errors, while writing xml documents ?

Answer Posted / praveen

---> Forgetting that XML Is Case Sensitive
ex: <name>abc</name> and <Name>abc</Name> <NAME>abc</NAME>
both 3 are different

---> Forgetting of End Tags
<name>abc

---> Forgetting the Quotes for the Attribute Value
<name preferred=true>abc</name> --- error
<name preferred-"true">abc</name> --- oh yeah


---> Typing Spaces in the Name of the Element
<my name>
......
</my name> --- :(

<myname>
......
</myname> --- :) :))


Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any way that html can be replaced with xml?

532


What is xpath descendant?

540


What is the difference between xls and xlsx?

571


What is attribute in xml?

538


Is docx a zip file?

543






What does XSLT processing models involve?

629


Where can I declare an xml namespace?

564


Do I need rss feeds in outlook?

551


Can we use xml for database purpose in html?

517


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

548


What is xslt explain with example?

637


What is meant by xsl formatting?

522


How do I convert xml to text?

573


What is DiffGram in XML?

610


What is the stylesheet structure used with xslt?

583