xsl-list
[Top] [All Lists]

Infinite Loop when param empty

2004-07-22 10:00:19
Hello,

I have a param which is populated with an XML source.

The paramter is declared like this:
<xsl:param name="ENTRY_TEMPLATE" select="/"/>

My top level match is:
<xsl:template match="/">

Within this template rule I apply the following:
<xsl:apply-templates select="$ENTRY_TEMPLATE"/>

If the param ENTRY_TEMPLATE is not set, I end up with an infinite loop.  Is
this normal behaviour?  I'm guessing that maybe it is bad practice to
declare the param as I have.

Any clues on this?

Karl



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