phemal has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I am writing to a xml file using XML::DOM class. In my *.xml file i have table which has columns and lets take one of them named as "result". I want to change the colour of result cell depending upon PASS or FAIL (result has only these values). Is there any way wherein we can change the colour of only this cell in a row. Thanks Hemal

Replies are listed 'Best First'.
Re: issue with xml
by davorg (Chancellor) on Feb 19, 2007 at 14:39 UTC

    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"!