Fix #5: Be opinionated and show namespace URIs rather than prefixes

This commit is contained in:
Rowan Collins 2017-11-09 22:04:51 +00:00
parent 6ac7c40043
commit 16622d96f3
4 changed files with 14 additions and 12 deletions

View file

@ -1,6 +1,6 @@
SimpleXML object (1 item)
[0] // <movies>
->children('', true)
->children('https://github.com/IMSoP/simplexml_debug')
->movie[0]
->title[0]
->characters[0]

View file

@ -1,6 +1,6 @@
SimpleXML object (1 item)
[0] // <movies>
->children('test', true)
->children('https://github.com/IMSoP/simplexml_debug')
->movie[0]
->title[0]
->characters[0]
@ -14,8 +14,8 @@ SimpleXML object (1 item)
->great-lines[0]
->line[0]
->rating[0]
->attributes('', true)
->attributes(null)
->type
->rating[1]
->attributes('', true)
->attributes(null)
->type

View file

@ -1,15 +1,15 @@
SimpleXML object (1 item)
[0] // <soap:Envelope>
->children('soap', true)
->children('http://schemas.xmlsoap.org/soap/envelope/')
->Header[0]
->children('s', true)
->children('http://example.org/security')
->credentials[0]
->children('', true)
->children(null)
->username[0]
->password[0]
->Body[0]
->children('tns', true)
->children('http://example.org/some-soap-service')
->DoSomething[0]
->children('', true)
->children(null)
->from[0]
->to[0]