Start to implement XPS format... not complete