Sesizes/scale dynamically and parse pasted XML