Subject: RE: [xsl] Process output from imported stylesheet? From: "Magnus Teo" <magnusteo@xxxxxxx> Date: Thu, 11 Mar 2004 16:33:08 +0800 |
<xsl:param name="param_DocID" /> <xsl:template match="/"> <xsl:choose> <xsl:when test="not($param_DocID)"> <xsl:apply-templates select="*/*/base:Section" /> </xsl:when> <xsl:when test="*/*/base:Section[//@ID=$param_DocID]"> <xsl:apply-templates select="*/*/base:Section[@ID=$param_DocID]" /> </xsl:when> <xsl:otherwise> <xsl:call-template name="missingDoc" /> </xsl:otherwise> </xsl:choose> </xsl:template>
<xsl:template match="base:Section"> <xsl:call-template name="Title" /> <xsl:call-template name="DatePublished" /> <xsl:call-template name="Desc" /> <xsl:call-template name="DateModified" /> <xsl:call-template name="Author" /> </xsl:template>
<xsl:template name="Author"> <div class="cell_author"> <xsl:value-of select="base:Author" /> </div> </xsl:template>
_________________________________________________________________ Find it on the web with MSN Search. http://search.msn.com.sg/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Process output from impor, Magnus Teo | Thread | Re: [xsl] Process output from impor, Magnus Teo |
RE: [xsl] Process output from impor, Magnus Teo | Date | Re: [xsl] Process output from impor, Magnus Teo |
Month |