mml instead of mm

  • Thread starter stephane.mottelet
  • Start date
S

stephane.mottelet

I have a bunch of stylesheets to process MathML markup
supposed to use the m: namespace prefix, but I have
also a bunch of MathML markup written with the mml:
prefix. How can use my stylesheets without modifying
the prefix within the shets ?

Thanks for help

S.
 
D

David Carlisle

I have a bunch of stylesheets to process MathML markup
supposed to use the m: namespace prefix, but I have
also a bunch of MathML markup written with the mml:
prefix. How can use my stylesheets without modifying
the prefix within the shets ?

Thanks for help

S.

The prefix is irrelevant. XSLT matches elements by comparing the local
name (eg math) with the namespace URI (http://www.w3.org/1998/Math/MathML)
The stylesheet and source do not need to use the same prefixes, and the
source need not use any prefix at all. So you do not need to modify the
stylesheet.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,843
Latest member
WizcraftEntertainmentAgen

Latest Threads

Top