Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is ?Well Formed XML? and ?Valid XML?

Answer Posted / manoj joshi

W3C, in the XML specification, has defined certain rules
that need to be followed while creating XML documents. The
examples of such rules include: having exactly one root
element, having end-tag for each start- tag, using
single/double quotes for attribute values, and so on. If an
XML document follows all these rules, it is said to be well-
formed document and XML parsers can be used to parse and
process such documents.
Document Type Definitions (DTDs) or XML Schemas can be used
to define the structure and content of a specific class of
XML documents. This includes the parent-child relationship
details, attribute lists, data type information, value
restrictions, etc. In addition to the well-formedness
rules, if an XML document also follows the rules specified
in the associated DTD/Schema, it is said to be a valid XML
document. All valid XML documents are well-formed; but the
reverse is not always true, that is, well-formed XML
documents do not necessarily have to be valid.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create an xsd file?

820


What is the use of xslt element?

896


How do I convert a pdf to xml?

824


What is the use of annotations in reference to an xml document?

804


Difference Between Element and Node.

11303


In What case you are not going to use XML?

899


What are the rules defined by the transformation of xsl?

792


How can name conflicts be avoided in xml?

842


Do you feel that you are a good XSLT programmer?

856


What are xml schemas used for?

816


What are the hooks provided by xslt?

832


Can I use the getattribute() and setattribute() methods of version 2.2 of the java servlet api to parse xml documents?

805


What are xml applications?

750


What's an rss feed and how do I use it?

805


If I replace my Sqlserver with XML files and how about handling the same ?

2070