- xslt parameter type conversion for xslt3.0

This commit is contained in:
Arno Kaimbacher 2022-11-25 13:45:26 +01:00
parent edea5ccbd0
commit eb5259d93e
2 changed files with 5 additions and 5 deletions

View File

@ -70,10 +70,10 @@
</xsl:if>
<xsl:value-of select="$baseURL" />
</request>
<xsl:if test="$oai_error_code!=''">
<xsl:if test="string($oai_error_code) != ''">
<error>
<xsl:attribute name="code">
<xsl:value-of select="$oai_error_code" />
<xsl:value-of select="string($oai_error_code)" />
</xsl:attribute>
<xsl:value-of select="$oai_error_message" />
</error>
@ -225,7 +225,7 @@
<xsl:if test="count(Rdr_Dataset) > 0">
<ListIdentifiers>
<xsl:apply-templates select="Rdr_Dataset" />
<xsl:if test="$totalIds > 0">
<xsl:if test="number($totalIds) > 0">
<resumptionToken>
<xsl:attribute name="expirationDate">
<xsl:value-of select="$dateDelete" />
@ -247,7 +247,7 @@
<xsl:if test="count(Rdr_Dataset) > 0">
<ListRecords>
<xsl:apply-templates select="Rdr_Dataset" />
<xsl:if test="$totalIds > 0">
<xsl:if test="number($totalIds) > 0">
<resumptionToken>
<xsl:attribute name="expirationDate">
<xsl:value-of select="$dateDelete" />

File diff suppressed because one or more lines are too long