Re: HTML5 and MathML and namespaces, oh my

"Liam R. E. Quin [email protected]" <[email protected]>
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
On Fri, 2020-11-06 at 01:13 +0000, Chris Papademetrious
[email protected] wrote:
> 
>   <xsl:template xmlns="http://www.w3.org/1998/Math/MathML"
> match="mi">

i think you want,
<xsl:template xmlns:m="http://www.w3.org/1998/Math/MathML"
match="m:mi">

as the defaultnamespace for XPath expresions isn't the same as  the
default namespace for elements in the XSLT stylesheet.

Liam

-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386
or by email: [email protected]
--~--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.