views:

42

answers:

1

Has this ever been done before? Is it possible to write an XSLT that will turn an XML document into color-coded, formatted, HTML?

+2  A: 

Take a look at this XML to HTML Verbatim Formatter with Syntax Highlighting

Gaby
That a lot messier than I thought it'd be. But that's exactly what I was looking for.
Eric
@Eric, yes it is a bit complicated, but it handles everything .. and has well separated steps :)
Gaby