This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: choose-when alternative
- To: xsl-list at mulberrytech dot com
- Subject: Re: choose-when alternative
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 25 Aug 2000 17:09:22 GMT
- References: <00082508535403.00898@oban>
- Reply-To: xsl-list at mulberrytech dot com
> So. If you think you know how this might be done with some kind of
> VARIABLE or PARAMETER instead of the way I did it, wiring in those
> names like that, let me know.
looks like you want
<xsl:template match="Include">
<xsl:apply-templates
select="document('sitedata.xml')/Courses/*[name()=current()/@name]"/>
</xsl:template>
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list