Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 72246 invoked from network); 9 Jun 2000 13:53:41 -0000 Received: from w229.z216112254.nyc-ny.dsl.cnc.net (HELO bugbear.dev.smallworld.com) (216.112.254.229) by locus.apache.org with SMTP; 9 Jun 2000 13:53:41 -0000 Received: by bugbear.dev.smallworld.com with Internet Mail Service (5.5.2650.21) id ; Fri, 9 Jun 2000 09:52:40 -0400 Message-ID: From: Mike Gargiullo To: "'xalan-dev@xml.apache.org'" , cocoon-users@xml.apache.org, cocoon-dev@xml.apache.org Subject: RE: Problem with unescaped & in xsl:text in XML Date: Fri, 9 Jun 2000 09:52:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFD219.F6F17D60" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01BFD219.F6F17D60 Content-Type: text/plain; charset="iso-8859-1" Try using & instead of & or & -----Original Message----- From: Manfred Riem [mailto:mriem@win.tue.nl] Sent: Friday, June 09, 2000 6:21 AM To: cocoon-users@xml.apache.org; cocoon-dev@xml.apache.org; xalan-dev@xml.apache.org Subject: Problem with unescaped & in xsl:text in XML Hi, 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. a Z The stuff in the math:mo element pops up like & isin; The stylesheet snippet that generates this XML I've so far is: ∈ Does anyone know how to solve this. I need it ASAP. Greetz, Manfred Riem ------_=_NextPart_001_01BFD219.F6F17D60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Problem with unescaped & in xsl:text in XML

Try using & instead of & or = &

-----Original Message-----
From: Manfred Riem [mailto:mriem@win.tue.nl]
Sent: Friday, June 09, 2000 6:21 AM
To: cocoon-users@xml.apache.org; = cocoon-dev@xml.apache.org;
xalan-dev@xml.apache.org
Subject: Problem with unescaped & in = xsl:text in XML


Hi,

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:math>
 <math:mrow>
  <math:mi>a</math:mi>
  <math:mo> &isin; = </math:mo>
  <math:mi>Z</math:mi>
 </math:mrow>
</math:math>

The stuff in the math:mo element pops up like

<math:mi>
 <?xslt-next-is-raw = formatter-to-dom?>&amp;
 <?xslt-next-is-raw formatter-to = dom?>isin;
</math:mi>

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

<xsl:template match=3D"OMA[OMS[@name=3D'in' = and @cd=3D'set1']]">
 <math:mrow xmlns=3D"http://www.w3.org/1998/Math/MathML" = mode=3D"inline">
  <xsl:apply-templates = select=3D"*[2]"/>
  <math:mo xmlns=3D"http://www.w3.org/1998/Math/MathML">
   <xsl:text
disable-output-escaping=3D"yes">&amp;isin;<= /xsl:text></math:mo>
  <xsl:apply-templates = select=3D"*[3]"/>
 </math:mrow>
</xsl:template>

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

Greetz,

Manfred Riem

------_=_NextPart_001_01BFD219.F6F17D60--