private function getTypes() { $schemas = null; for ($i = 0; $i < $this->definitions->length; $i++) { $item = $this->definitions->item($i); if (XmlUtil::cleearNS($item->nodeName) == "types") { $schemas = $item->childNodes; for ($j = 0; $j < $schemas->length; $j++) { $schema = null; if (XmlUtil::cleearNS($schemas->item($j)->nodeName) == "schema") { $schema = $schemas->item($j)->childNodes; for ($k = 0; $k < $schema->length; $k++) { $this->types[] = XmlUtil::getDOMDocument($schema->item($k)); } } } break; } } }