Subject: RE: XMTP XML file breaks Saxon and XT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 7 Aug 2000 15:27:12 +0100
|
> 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
|