Subject: [xsl] design question on function namespaces From: Bruce D'Arcus <bdarcus@xxxxxxxxx> Date: Tue, 3 May 2005 07:16:19 -0400 |
<xsl:function name="mods:year"> <xsl:param name="bibref" as="element(mods:mods)"/> <xsl:for-each select="$bibref"> <xsl:value-of select="substring((mods:originInfo/mods:dateIssued, mods:relatedItem/mods:originInfo/mods:dateIssued, mods:relatedItem/mods:part/mods:date)[1],1,4)" /> </xsl:for-each> </xsl:function>
declare function display:year($rec as element()) as xs:string? { substring(($rec/mods:originInfo/mods:dateIssued, $rec/mods:relatedItem/mods:originInfo/mods:dateIssued, $rec/mods:relatedItem/mods:part/mods:date)[1],1,4) };
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Using the count function, Michael Kay | Thread | RE: [xsl] design question on functi, Michael Kay |
RE: [xsl] Using the count function, Michael Kay | Date | Re: [xsl] Revision Marking in HTML, Nadia . Swaby |
Month |