xsl-list
[Top] [All Lists]

How are param selects handled

2003-05-27 07:04:11
Hi,

I have a template that accepts params.  But I have set a select in the param
definition, and part way thorugh I check the param for any param sent. Like
this

<xsl:template name="check-for-delims">
    <xsl:param name="string" select="''" />
    <xsl:param name="delims" select="' &#x9;&#xA;'" />

    .... loads of code ...
    <xsl:when test="not($delimiters)">

... bits more ...
</xsl:template>

As I have set the select in the delims parameter, will the check always
return true??

Cheers

Simon


"I have often wondered how it is that every man loves himself more than all
the rest of men, but yet sets less value on his own opinion of himself than
on the opinion of others." -- Georg Christoph Lichtenberg

Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : kelly(_at_)ipe(_dot_)fzk(_dot_)de


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>