1--TEST--
2Dom\XMLDocument::createFromFile 04
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = Dom\XMLDocument::createFromFile(__DIR__."/../../book.xml");
9echo $dom->saveXml();
10
11?>
12--EXPECT--
13<?xml version="1.0" encoding="UTF-8"?>
14<books>
15 <book>
16  <title>The Grapes of Wrath</title>
17  <author>John Steinbeck</author>
18 </book>
19 <book>
20  <title>The Pearl</title>
21  <author>John Steinbeck</author>
22 </book>
23</books>
24