|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: problem using param passed
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








