xsl-list
[Top] [All Lists]

RE: catch MathML

2004-02-20 15:12:00
I think you have to have someElement/math for the match.

<xsl:template match="someElement/math">

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Maia
Zaharieva
Sent: Friday, February 20, 2004 4:05 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] catch MathML

hi all,

i guess its really a beginner's question, but i'm just clueless, so i'd
appreciate any hints!
in my dtd im referencing MathML by

<!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/mathml2.dtd";>
%mathml;

so in the xml file i can have

<someElement>
    <math>
        [... some math expression...]
    </math>
</someElement>

the very silly question i have is why isn't <template match="math">
working?
(i mean it isnt called at all)

thanks,
/maia


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>