Concordion > Commands >

Embedded Stylesheet

The output documents need some CSS to render successes, failures, stack traces etc. correctly.

The essential styles will be embedded at the top of the <head> section of the document. This allows user-supplied stylesheets to override the settings, if desired, and allows the document to perform its function without any external dependencies (this makes it easier to e-mail the output documents).

Example

If we process this document:

<html xmlns:concordion="http://www.concordion.org/2007/concordion">
<head>
    <title>Example</title>
</head>
<body>
    <p>Body content goes here.</p>
</body>
</html>

We expect the output document to have a <style> element inserted into the <head> section before the <title> element.

The <style> element should contain styles for CSS classes like ".success" and ".failure".

Further Details