This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Namespaces and XML
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Namespaces and XML
- From: RSuiter at cccis dot com
- Date: Thu, 19 Apr 2001 14:12:26 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sara,
You got it, except that a gremlin changed what you meant in the second xsl
snippit (which was >> name="lnv:COURTCASE" << into >> match="lnv:COURTCASE"
<<
Rick Suiter
sara.mitchell@ps.ge.com@lists.mulberrytech.com on 04/19/2001 02:05:46 PM
Please respond to xsl-list@lists.mulberrytech.com
Sent by: owner-xsl-list@lists.mulberrytech.com
To: xsl-list@lists.mulberrytech.com
cc:
Subject: RE: [xsl] Namespaces and XML
Yes, it's something very basic. You have:
<xsl:call-template name="lnv:COURTCASE"/>
which means that the processor then looks for a
template like this:
<xsl:template match="lnv:COURTCASE"> <!-- Here's where the gremlin struck
-->
...
</xsl:template>
But in your stylesheet, what you actually have is
<xsl:template match="lnv:COURTCASE">
...
</xsl:template>
You either need to make 'match' be 'name' or you
need to change the <xsl:call-template ...> to be
<xsl:apply-templates select="lnv:COURTCASE"/>.
Sara
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list