wr example

$this->doctype();
        if ($dom->documentElement) {
            foreach ($dom->childNodes as $node) {
                $this->traverser->node($node);
            }
            $this->nl();
        }
    }

    protected function doctype()
    {
        $this->wr(static::DOCTYPE);
        $this->nl();
    }

    public function element($ele)
    {
        $name = $ele->tagName;

        // Per spec:         // If the element has a declared namespace in the HTML, MathML or         // SVG namespaces, we use the lname instead of the tagName.         if ($this->traverser->isLocalElement($ele)) {
            
Home | Imprint | This part of the site doesn't use cookies.