Angle bracket quoting in oXygen.

Oxygen general issues.
NatalieM
Posts: 2
Joined: Thu Dec 13, 2007 6:36 pm
Location: London

Angle bracket quoting in oXygen.

Post by NatalieM »

Hi!

Hope you can help.

I'm trying to quote some text in a <programlisting> tag. However, because I actually need to include the text: <USERS> <TOTALS> etc., oXygen thinks that these are undefined tags. :(

Can I escape an open and close angle bracket? Or is there another way :?:

Many thanks
Nat
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Angle bracket quoting in oXygen.

Post by sorin_ristache »

Hello,

You can escape the opening bracket:

Code: Select all

<programlisting>
<USERS> and <TOTALS>
</programlisting>
or you can include the tags in a CDATA section:

Code: Select all

<programlisting>
<![CDATA[<USERS> and <TOTALS>]]>
</programlisting>
Regards,
Sorin
Post Reply