怎么自己调整单机dnf:XSL字符串操作问题

来源:百度文库 编辑:高考问答 时间:2024/04/27 16:56:23
要实现判断/root/bookname等于/root/descript的前4个字符则执行一定操作,怎么来写?高手指点……

例如
<xsl:when test="/root/bookname=/root/descript的前四个字符">
//执行操作
</xsl:when>
补充:最好是类似于substr的语句
不知道行不行