Subject: Re: Transform some attributes into HTML span elements with delimiters (specific format)
From: Philipp Kursawe <phil.kursawe@xxxxxxxxx>
Date: Thu, 27 May 2010 10:28:52 +0200
|
Thanks for the quick response!
> <xsl:template match="InspectionReportInput" name="customer">
> <span id="{name(@firstName)}">{@firstName}</span> <span id="{name(@lastName)}">{@lastName}</span>, <span id="{name(@city)}">{@city}</span>
> </xsl:template>
I call it like this.
<xsl:call-template name="customer"/>
and its output is:
<span xmlns="" id="">{@firstName}</span> <span xmlns=""
id="">{@lastName}</span>, <span xmlns="" id="">{@city}</span>
Any ideas?
Thanks,
Phil
|