Subject: RE: Namespaces and XML
From: RSuiter@xxxxxxxxx
Date: Thu, 19 Apr 2001 14:12:26 -0500
|
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@xxxxxxxxx@l... on 04/19/2001 02:05:46 PM
Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent by: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc:
Subject: RE: 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
|