0 Replies Latest reply on Mar 30, 2006 8:03 AM by Stefan Hackmann

    JSF portlet using MathML

    Stefan Hackmann Newbie

      hi, i wrote a simple jsf-portlet for jboss portal 2.2.1rc3 and i want to include some mathml code like

      <?xml version="1.0"?>
      <?xml-stylesheet type="text/xsl" href="http://www.w3.org/Math/XSL/mathml.xsl"?>
      <html xmlns="http://www.w3.org/1999/xhtml">
       <head></head>
       <body>
       <math xmlns="http://www.w3.org/1998/Math/MathML" >
       <apply>
       <implies/>
       <apply>
       <eq/>
       <ci>A</ci>
       <ci>B</ci>
       </apply>
       <apply>
       <eq/>
       <apply>
       <union/>
       <ci>A</ci>
       <ci>C</ci>
       </apply>
       <apply>
       <union/>
       <ci>B</ci>
       <ci>C</ci>
       </apply>
       </apply>
       </apply>
       </math>
       </body>
      </html>

      in a jsp. i think i have to edit my portlet.xml and the ContentType in the doView method, right? any ideas what to do? thanks in advance!