color-coding

Color (syntax highlighting) within an HTML <code> tag

In a code fragment like the following ... class Foo { internal Foo() { for (int i = 0; i < 42; ++i); } } ... its various keywords and so on are color-coded when they're displayed in my browsers. When I do "View source", I don't see anything special in the HTML that would implement this color-coding. How and/or where is thi...

Is it possible to color-code and format an XML document using XSLT?

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