Just enter your code in the various panels - whichever you need to use - and generate output.

A sandbox for XML development including XSL,XPath,XQuery,Schema,DTD
xmlplayground.com