Page 1 of 1

Angle bracket quoting in oXygen.

Posted: Fri Sep 12, 2008 1:03 pm
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

Re: Angle bracket quoting in oXygen.

Posted: Fri Sep 12, 2008 3:08 pm
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