Added inital efforts to turn an XML String into a document. This will be
used for adding additional widgets at runtime.