![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - problem using param passed >Thread Next - Re: problem using param passed Re: problem using param passedTo: Date: 7/1/2000 8:10:00 AM jamadagni@xxxxxxxxxxxx wrote:
>
> <xsl:apply-templates select="Article/ArticleTitle" mode="fieldInNewLine">
> <xsl:with-param name="fieldName">Article Title:</xsl:with-param>
> <xsl:with-param name="whichNode">Author</xsl:with-param>
> </xsl:apply-templates>
This form passes a string.
I find for simple strings and Xpath expressions (what you intend to
do with your "Author" selection), use the select attribute.
<xsl:apply-templates select="Article/ArticleTitle" mode="fieldInNewLine">
<xsl:with-param name="fieldName" select="'Article Title:'" />
<xsl:with-param name="whichNode" select="Author" />
</xsl:apply-templates>
Hope this helps.
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
