Lines Matching full:xml
3 namespace Sabre\Xml\Element;
5 use Sabre\Xml\Element;
6 use Sabre\Xml\Reader;
7 use Sabre\Xml\Writer;
10 * The XmlFragment element allows you to extract a portion of your xml tree,
11 * and get a well-formed xml string.
16 * Please note that the XML fragment:
18 * 1. Will not have an <?xml declaration.
25 protected $xml; variable in Sabre\\Xml\\Element\\XmlFragment
27 function __construct($xml) { argument
29 $this->xml = $xml;
35 return $this->xml;
40 * The xmlSerialize metod is called during xml writing.
42 * Use the $writer argument to write its own xml serialization.
46 * its 'inner xml'.
62 // Wrapping the xml in a container, so root-less values can still be
64 $xml = <<<XML
65 <?xml version="1.0"?>
66 <xml-fragment xmlns="http://sabre.io/ns">{$this->getXml()}</xml-fragment>
67 XML;
69 $reader->xml($xml);
119 * The deserialize method is called during xml parsing.