Oddly, the XML namespace spec leaves un-prefixed attributes as undefined behaviour, rather than inheriting the default namespace. While fixing this, I've also made most of the output ignore local aliases, because everyone should be using namespace URIs anyway.
4 lines
136 B
XML
4 lines
136 B
XML
<?xml version="1.0"?>
|
|
<Foo xmlns="http://example.com" InvisibleAttribute="You ain't seen me, right?">
|
|
<MaskingChildElement/>
|
|
</Foo>
|