RE: [xsl] Beginner's question

Subject: RE: [xsl] Beginner's question
From: J S Publications <admin@xxxxxxxxxx>
Date: Thu, 04 Oct 2001 17:07:21 +0100
Steve

That is pretty much what I came up with. The problem is that on its own in an XSL I am getting everything else being output as well. How do you block everything but stuff inside the relevant <site>?

Chris

At 16:49 04/10/2001, you wrote:

I'm not sure where you the apply-templates would be called, so the initial part of the xpath expression may not be correct, but it will be something like:

<xsl:apply-templates select="site[uid = $desired-id]" />

where you've set the desired-id variable before the call, or have it passed
in as a parameter.

Steve



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread