26 $writer->startElement(
'{http://sabredav.org/ns}elem1');
27 $writer->write(
'hiiii!');
28 $writer->endElement();
xmlSerialize(Xml\Writer $writer)
The serialize method is called during xml writing.
The Reader class expands upon PHP's built-in XMLReader.
static xmlDeserialize(Xml\Reader $reader)
The deserialize method is called during xml parsing.
This is the XML element interface.