Subject: Re: [xsl] variable question From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Tue, 31 Aug 2004 09:04:41 -0400 |
One solution is to declare the parameter of the function so that it accepts an empty sequence. Instead of:
<xsl:param name="relatedItem" as="element(mods:relatedItem)" />
which says that $relatedItem must be one-and-only-one <mods:relatedItem> element, use:
<xsl:param name="relatedItem" as="element(mods:relatedItem)?" />
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] variable question, Jeni Tennison | Thread | Re: [xsl] word2html.xsl (was Conver, Oleg Tkachenko |
Re: [xsl] collapsing number ranges, David Carlisle | Date | Re: [xsl] dynamically generating cs, Jeni Tennison |
Month |