On Saturday, Jun 21, 2003, at 01:35 Europe/London, Streph Treadway wrote:

Hi, all,

I am pretty inexperienced with AxKit so please forgive what may be an
extremely ignorant question.  I am interested in using AxKit to serve
pages that will include MathML, which is itself a form of XML.  I would
like to transform some elements but pass significant chunks of MathML
directly to browsers without processing it.  I have tried a few
experiments, but the XSLT step strips out my MathML tags.

You need to add in an identity transformation into your XSLT to pass un-specified tags through untouched:


<xsl:template match="*|@*">
  <xsl:copy>
   <xsl:apply-templates select="@*"/>
   <xsl:apply-templates/>
  </xsl:copy>
</xsl:template>

(I think that works OK with namespaced elements, but I'm sure Robin will pipe up if it doesn't).

Matt.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to