Pagecontainer: fixed xml structure for method custom examples

Closes gh-231
Ref gh-207