Hi all!

What is the best way of marking up inline program (C++) code?

An example:

<para>Instead of using the construct
<whichelementhere>i = i+1</whichelementhere> you should use
<whichelementhere>i += 1</whichelementhere>.

I thought of using <quote role="code"> or the "catch all" element 
<phrase role="code"> and customizing the stylesheets.

Is this sensible or is there a better approach?

Best regards

        Rune Enggaard Jensen

Reply via email to