[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: choose-when alternative


Subject: Re: choose-when alternative
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 25 Aug 2000 17:09:22 GMT

> 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



Current Thread