|
Subject: [xsl]Problem with Position()? From: Alice Ju-Hsuan Wei <ajwei@xxxxxxxxxxx> Date: Sat, 13 Oct 2007 07:59:57 -0400 |
<div>
<xsl:apply-templates select="./@author"/>,
<i><xsl:apply-templates select="./@title"/></i>.
(<xsl:apply-templates select="./@topic"/>)
[ <xsl:apply-templates/>]
</div>
</xsl:template><xsl:template match="p">
<xsl:choose>
<xsl:when test="position()!=1">
<p>
<xsl:call-template name="rend"/>
<xsl:apply-templates/>
</p>
</xsl:when>
<xsl:otherwise>
<xsl:if test="position()=1">
<xsl:apply-templates/>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Wrapping two different el, George Cristian Bina | Thread | Re: [xsl]Problem with Position()?, Jay Bryant |
| [xsl] Wrapping two different elemen, Bruno Nahod | Date | Re: [xsl] Troubles with libxslt in , Abel Braaksma |
| Month |