Sakthivel
Sakthivel

Reputation: 666

Meaning of the expression in xslt

On my xslt code i have the following code, but, I could make it what it actually mean:

<xsl:template match="leg:Primary | leg:Secondary | leg:Body | leg:Schedules | leg:SignedSection | leg:ExplanatoryNotes | leg:P1group | leg:Title | leg:Group | leg:Part | leg:Chapter | leg:Pblock | leg:PsubBlock | leg:P1 | leg:P |leg:PrimaryPrelims | leg:SecondaryPrelims | leg:Schedule | leg:Form | leg:Schedule/leg:ScheduleBody//leg:Tabular " mode="ProcessAnnotations">
<xsl:param name="showSection" as="element()*" tunnel="yes" select="()" />

Here on the param the entered value is (), what it is mean? pls

Upvotes: 1

Views: 84

Answers (2)

Martin Honnen
Martin Honnen

Reputation: 167516

The default value set by the select="()" attribute is an empty sequence.

Upvotes: 1

Jirka Š.
Jirka Š.

Reputation: 3428

IMO it is an empty set of elements, i.e. when there is no value passed into this param, the default value is empty set.

Upvotes: 1

Related Questions