creating a start element:

Strict Standards: Non-static method XML_Util::createStartElement() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 63

Strict Standards: Non-static method XML_Util::splitQualifiedName() should not be called statically in /usr/local/lib/php/XML/Util.php on line 710

Strict Standards: Non-static method XML_Util::attributesToString() should not be called statically in /usr/local/lib/php/XML/Util.php on line 732

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 419

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 419
<myNs:myTag foo="bar" xmlns:myNs="http://www.w3c.org/myNs#">

creating a start element:

Strict Standards: Non-static method XML_Util::createStartElement() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 72

Strict Standards: Non-static method XML_Util::splitQualifiedName() should not be called statically in /usr/local/lib/php/XML/Util.php on line 710

Strict Standards: Non-static method XML_Util::attributesToString() should not be called statically in /usr/local/lib/php/XML/Util.php on line 732

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 419
<myTag xmlns="http://www.w3c.org/myNs#">

creating a start element:

Strict Standards: Non-static method XML_Util::createStartElement() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 82

Strict Standards: Non-static method XML_Util::splitQualifiedName() should not be called statically in /usr/local/lib/php/XML/Util.php on line 710

Strict Standards: Non-static method XML_Util::attributesToString() should not be called statically in /usr/local/lib/php/XML/Util.php on line 732

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 427

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 427

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 427
<myTag argh="tomato" foo="bar" xmlns="http://www.w3c.org/myNs#">


creating an end element:

Strict Standards: Non-static method XML_Util::createEndElement() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 91
</myNs:myTag>

creating a CData section:

Strict Standards: Non-static method XML_Util::createCDataSection() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 98
<![CDATA[I am content.]]>

creating a comment:

Strict Standards: Non-static method XML_Util::createComment() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 105
<!-- I am a comment. -->

creating a tag with qualified name and namespaceUri:

Strict Standards: Non-static method XML_Util::createTagFromArray() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 121

Strict Standards: Non-static method XML_Util::splitQualifiedName() should not be called statically in /usr/local/lib/php/XML/Util.php on line 625

Strict Standards: Non-static method XML_Util::attributesToString() should not be called statically in /usr/local/lib/php/XML/Util.php on line 653

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 427

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 427

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 427

Strict Standards: Non-static method XML_Util::replaceEntities() should not be called statically in /usr/local/lib/php/XML/Util.php on line 665
<foo:bar argh="fruit&amp;vegetable" key="value" xmlns:foo="http://foo.com">I&apos;m inside the tag &amp; contain dangerous chars</foo:bar>


creating a attribute string, entities in values already had been replaced:

Strict Standards: Non-static method XML_Util::attributesToString() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 132
channel="ABC" series="Starsky &amp; Hutch"

using the array-syntax for attributesToString()

Strict Standards: Non-static method XML_Util::attributesToString() should not be called statically in /home/miyasola/oldfile/usr/local/lib/php/doc/XML_Util/examples/example2.php on line 141
channel="ABC" series="Starsky &amp; Hutch"