This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Namespaces and XML



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]