Wrap it in <![CDATA]> and <source>:

    <faq>
      <question>How do xyz...</question>
      <answer>
        <p>
          Check out the following XML Example:
        </p>
<source><![CDATA[
  <sometag>
     foo bar...
  </sometag>
]]></source>
      </answer>
    </faq>


-----Original Message-----
From: Gero Vermaas [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 20, 2006 1:54 PM
To: [email protected]
Subject: Including XML tags in FML pages: How?

Hi,

I'm trying to include some XML example snippets in my FAQ that described in
an .fml file. The '<' and '>' of the XML tags are never shown in the
generated HTML page.

 I tried several things including the use of &lt;  and &gt; but nothing
seems to work. Below is an example.

    <faq>
      <question>How do xyz...</question>
      <answer>
        <p>
          Check out the following XML Example:
        </p>
        <pre>
  &lt;sometag&gt;
     foo bar...
  &lt;/sometag&gt;
        </pre>
      </answer>
    </faq>

Any idea how I can include XML tags in examples in the FML format?

Thanks,
Gero

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to