XML preserves white spaces

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of XML and how it handles white spaces.

Option A) True - This option is correct. XML does preserve white spaces. In XML, white spaces such as spaces, tabs, and line breaks are considered significant and are preserved when the document is parsed. This means that the white spaces in the XML document are treated as part of the content and are not automatically ignored or removed.

Option B) False - This option is incorrect. XML does preserve white spaces, so the correct answer is option A.

The correct answer is A) True. XML preserves white spaces because they are considered significant.

Find more quizzes: