@@ 6788-6793 (lines=6) @@ | ||
6785 | // set self as current value for this depth |
|
6786 | $this->depth_array[$this->depth] = $pos; |
|
6787 | // get element prefix |
|
6788 | if (strpos($name,':')) { |
|
6789 | // get ns prefix |
|
6790 | $prefix = substr($name,0,strpos($name,':')); |
|
6791 | // get unqualified name |
|
6792 | $name = substr(strstr($name,':'),1); |
|
6793 | } |
|
6794 | // set status |
|
6795 | if ($name == 'Envelope' && $this->status == '') { |
|
6796 | $this->status = 'envelope'; |
|
@@ 6927-6932 (lines=6) @@ | ||
6924 | $pos = $this->depth_array[$this->depth--]; |
|
6925 | ||
6926 | // get element prefix |
|
6927 | if (strpos($name,':')) { |
|
6928 | // get ns prefix |
|
6929 | $prefix = substr($name,0,strpos($name,':')); |
|
6930 | // get unqualified name |
|
6931 | $name = substr(strstr($name,':'),1); |
|
6932 | } |
|
6933 | ||
6934 | // build to native type |
|
6935 | if (isset($this->body_position) && $pos > $this->body_position) { |