This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XMTP XML file breaks Saxon and XT
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XMTP XML file breaks Saxon and XT
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 7 Aug 2000 15:27:12 +0100
- Reply-To: xsl-list at mulberrytech dot com
> Here's a sample of the document (from the above Web site)
>
> <MIME xmlns:mime="http://www.grovelogic.com/xmtp"
> xmlns="http://www.grovelogic.com/xmtp">
>
> This stylesheet fails:
>
> <xsl:template match="MIME" >
> <xsl:apply-templates />
> </xsl:template>
>
>
> Anyone have any idea about what is causing this?
>
Your MIME element has a non-null namespace URI, so the pattern match="MIME"
will not match it. Use
<xsl:template match="z:MIME" xmlns:z="http://www.grovelogic.com/xmtp">
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list