What are the parts of an xml file?



What are the parts of an xml file?..

Answer / Poorva Tripathi

An XML file typically contains three main parts: 1) XML declaration (optional, specifies the version and encoding), 2) Document Element (root element, containing all other elements), and 3) Elements, attributes, text, processing instructions, comments, and CDATA sections (structural components within the document).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More XML XSLT RSS Interview Questions

Explain about dom interface?

1 Answers  


What is rss element rss?

1 Answers  


DOM & SAX parsers explanation and difference ?

6 Answers   Cognizant, HCL,


What are the differences between HTML and XML?

1 Answers  


What is xml and its uses?

1 Answers  


What are possible ways XML used in j2ee WebApplication.Like storing data in to database and for data transfer .Apart from this any uses.

1 Answers  


What is the use of xml data binding?

1 Answers  


How do I subscribe to rss feeds?

1 Answers  


What is mean by xsl?

1 Answers  


Can xml tags have numbers?

1 Answers  


What is a podcast rss feed?

1 Answers  


What is rss subscription?

1 Answers  


Categories