送信されるフィールドに数字のみが入力されるようにする次のXSLTを作成しましたが、8文字を超えないように追加のステートメントを含めるようにこれを適応させる方法がわかりません。
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="record[translate(employeeNumber, '0123456789', '')]"/>
</xsl:stylesheet>