Subject: Re: [xsl] Changing prefix From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 19 May 2004 15:59:04 -0400 |
<example xmlns:n1="myURL.com" xmlns:n2="myURL.com"> <n1:element/> <n2:element/> </example>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://www.w3.org/1998/Math/MathML ">
<xsl:template match="/"> <xsl:copy-of select="/"/> </xsl:template>
Cheers, Wendell
I have an app that uses MathML, and gathers some stats from it. But i ran into a problem when using mml tags embedded in docbook, as this app uses the "math" prefix, and in docbook mathml tags are prefixed with "mml".
I am trying to do a stylesheet that copies all mathml elements, including attributes, data etc.. just changing the prefix.
Any idea ? Nicolas
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Changing prefix, Nicolas Pillot | Thread | Re: [xsl] Changing prefix, David Carlisle |
[xsl] Changing prefix, Nicolas Pillot | Date | RE: [xsl] XSLT sort, Michael Kay |
Month |