Debug XML parser & layout interface