Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Transform fields to node attributes? >Thread Next - Re: Transform fields to node attributes? Re: Transform fields to node attributes?To: NULL Date: 1/4/2009 12:50:00 PM Savvoulidis Iordanis wrote:
> <Event Status="{Status}"
> League="{League}"
> Date="{Date}"
> Time="{Time}"
> />
> which worked. But I want to do another thing on the Date attribute. I have a
> template for converting the Date value into another format. Which is the
> syntax of the template call (with a parameter ) that I must use in the above
> XSLT ?
<Event Status="{Status}" League="{League}" Time="{Time}">
<xsl:attribute name="Date">
<xsl:call-template name="template-name">
<xsl:with-param name="param-name" select="Date"/>
</xsl:call-template>
</xsl:attribute>
</Event>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
