An new interesting has been seen in magento all xml file are starting with below code-

<?xml version="1.0"?>

My question , why magento used xml version 1.0?

why it does not used other version?


1 Answer 1


XML Version 1.0 is the most common one.

There is also XML Version 1.1. available. This version includes some special features but is rarely used. It is recommended if its unique features are needed.

Link: Extensible Markup Language (XML) 1.0 (Fifth Edition)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.