S
Soren Kuula
Hi,
I'm writing some DocBook with lots of math formulae. For every
mathematical expression in my document, I have to enclose it in :
<math xmlns="http://www.w3.org/1998/Math/MathML">
blah
</math>
so I thought of declaring entities in the DTD extension so I can just use
&mathbegin;
blah
&mathend
Problem is, how do I declare there ?
<!ENTITY mathbegin <math xmlns="http://www.w3.org/1998/Math/MathML">>
<!ENTITY mathbegin '<math xmlns="http://www.w3.org/1998/Math/MathML">'>
<!ENTITY mathbegin "<math xmlns='http://www.w3.org/1998/Math/MathML'>">
<!ENTITY mathbegin "<math xmlns="http://www.w3.org/1998/Math/MathML">">
<!ENTITY mathbegin "<math
xmlns="http://www.w3.org/1998/Math/MathML">">
all don't work (with Xalan). The problem seems to be the quotes in the
text I want to declare an entity for ...
Surely there must be a solution ...
Soren
I'm writing some DocBook with lots of math formulae. For every
mathematical expression in my document, I have to enclose it in :
<math xmlns="http://www.w3.org/1998/Math/MathML">
blah
</math>
so I thought of declaring entities in the DTD extension so I can just use
&mathbegin;
blah
&mathend
Problem is, how do I declare there ?
<!ENTITY mathbegin <math xmlns="http://www.w3.org/1998/Math/MathML">>
<!ENTITY mathbegin '<math xmlns="http://www.w3.org/1998/Math/MathML">'>
<!ENTITY mathbegin "<math xmlns='http://www.w3.org/1998/Math/MathML'>">
<!ENTITY mathbegin "<math xmlns="http://www.w3.org/1998/Math/MathML">">
<!ENTITY mathbegin "<math
xmlns="http://www.w3.org/1998/Math/MathML">">
all don't work (with Xalan). The problem seems to be the quotes in the
text I want to declare an entity for ...
Surely there must be a solution ...
Soren