embed

The Embed extension adds an embed command to embed HTML snippets in the Concordion output.

Example

Given the specification maps the prefix cx to the namespace urn:concordion-extensions:2010.

If the expression "username" evaluates to "<p font-style="italic">jbloggs</p>" and we have the following instrumentation in our specification:

<p>Username: <span cx:embed="#username" /></p>

Then we expect the following output:

<p>Username: <span cx:embed="#username"><p font-style="italic">jbloggs</p></span></p>