cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Gargiullo <>
Subject RE: Problem with unescaped &amp; in xsl:text in XML
Date Fri, 09 Jun 2000 13:52:34 GMT
Try using &#38; instead of &amp; or &

-----Original Message-----
From: Manfred Riem []
Sent: Friday, June 09, 2000 6:21 AM
Subject: Problem with unescaped &amp; in xsl:text in XML


First of all, I don't know where this post should go, I'm
using Cocoon, but I think its a Xalan problem? So what's
the problem.

I've been busy trying to get the MathML stuff working for
Mozilla and now I've reached a dead end. I need to be
able to generate something like the following.

  <math:mo> &isin; </math:mo>

The stuff in the math:mo element pops up like

 <?xslt-next-is-raw formatter-to-dom?>&amp;
 <?xslt-next-is-raw formatter-to dom?>isin; 

The stylesheet snippet that generates this XML I've so far is:

<xsl:template match="OMA[OMS[@name='in' and @cd='set1']]">
 <math:mrow xmlns="" mode="inline">
  <xsl:apply-templates select="*[2]"/> 
  <math:mo xmlns="">
  <xsl:apply-templates select="*[3]"/>

Does anyone know how to solve this. I need it ASAP.


Manfred Riem

View raw message