@@ 107-111 (lines=5) @@ | ||
104 | } |
|
105 | $ns = $this->current_ns[$this->xml_depth]; |
|
106 | foreach ($attr as $key => $value) { |
|
107 | if (mb_orig_strpos($key, ':') !== false) { |
|
108 | $key = explode(':', $key); |
|
109 | $key = $key[1]; |
|
110 | $this->ns_map[$key] = $value; |
|
111 | } |
|
112 | } |
|
113 | if (mb_orig_strpos($name, ':') !== false) { |
|
114 | $name = explode(':', $name); |
|
@@ 113-117 (lines=5) @@ | ||
110 | $this->ns_map[$key] = $value; |
|
111 | } |
|
112 | } |
|
113 | if (mb_orig_strpos($name, ':') !== false) { |
|
114 | $name = explode(':', $name); |
|
115 | $ns = $this->ns_map[$name[0]]; |
|
116 | $name = $name[1]; |
|
117 | } |
|
118 | $obj = new XMLStreamObject($name, $ns, $attr); |
|
119 | if ($this->xml_depth > 1) { |
|
120 | $this->xmlobj[$this->xml_depth - 1]->subs[] = $obj; |