RE: [xsl] Namespaces and XML

Subject: RE: [xsl] Namespaces and XML
From: RSuiter@xxxxxxxxx
Date: Thu, 19 Apr 2001 14:12:26 -0500
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 on 04/19/2001 02:05:46 PM

Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx

Sent by:  owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx

To:   xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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

But in your stylesheet, what you actually  have is

<xsl:template match="lnv:COURTCASE">

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"/>.


 XSL-List info and archive:

 XSL-List info and archive:

Current Thread