initial markup to xml