(: Name: Constr-namespace-8 :)
(: Written by: Andreas Behm :)
(: Description: Namespace Declarations - child inherits namespace prefix :)

(<elem xmlns:foo="http://www.example.com"><foo:child/></elem>)/*:child