|
Subject: Re: [xsl] Printing all child bachelor nodes From: andrew welch <andrew.j.welch@xxxxxxxxx> Date: Thu, 9 Feb 2006 15:55:35 +0000 |
On 2/9/06, Douglas F Shearer <dougal.s@xxxxxxxxx> wrote:
> I have one more query, is there anyway I could have ONLY the beds in
> bold?
<xsl:template match="features/beds">
<span class="bold">
<xsl:value-of select="local-name()"/>
<xsl:for-each select="@*">
<xsl:value-of select="concat(' ', name(), ':', .)"/>
<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
<xsl:text>.</xsl:text>
</span>
</xsl:template>
you will need to add a style for span.bold
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Printing all child bachel, Douglas F Shearer | Thread | Re: [xsl] Printing all child bachel, Jon Gorman |
| Re: [xsl] Printing all child bachel, Douglas F Shearer | Date | Re: [xsl] Printing all child bachel, Jon Gorman |
| Month |