I'm looking for way to format the XML syntax displayed in a pre tag on my sandbox web.
pre
If you know how, please show me.
You can have a look at Hyperlight or GeSHi (in PHP).
Perhaps you'd prefer to use a Javascript script: consider this list.