in reply to issue with xml

Can you please explain in a bit more detail - with some sample code and data?

XML documents are plain text[1]. The text in them can't be coloured.

If you're talking about colouring the elements when you are displaying the file - then the answer to your question depends on the technology that you are using to display the file.

[1] For some value of "plain"!