Yes, it is possible by using “simplexml_load_file()” function.
In this tutorial we read “all_products.xml” using index.php file.
Step-1: Create “all_products.xml” by copy and paste this code
1
<frame_style>Full Rimmed
../images/products/glasses/unisex/main_thumbnail/1.jpg
150 Black
2
<frame_style>Full Rimmed
../images/products/glasses/unisex/main_thumbnail/3.jpg
120 Black