Subject: Re: [xsl] defining sections From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Fri, 25 Nov 2005 15:49:37 +0100 |
Regards, Geert
<xsl:template match="root"> <root> <artefact doc_ref="{$DOC_REF}" type_id="1">
<xsl:apply-templates select="data[(.='Functional Requirements') or (.='Design Derived Requirements')]"/>
</artefact> </root> </xsl:template>
<xsl:template match="data"/>
<xsl:template match="data[.='Functional Requirements']"> <before> <xsl:value-of select="."/> </before>
</xsl:template>
<xsl:template match="data" mode="before"> <before> <xsl:value-of select="."/> </before> </xsl:template>
<xsl:template match="data[.='Design Derived Requirements']"> <after> <xsl:value-of select="."/> </after>
</xsl:template>
<xsl:template match="data" mode="after"> <after> <xsl:value-of select="."/> </after> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] defining sections, geoff hopkins | Thread | Re: [xsl] defining sections, geoff hopkins |
Re: [xsl] defining sections, geoff hopkins | Date | Re: [xsl] defining sections, geoff hopkins |
Month |