我正在尝试使用XSLT 1.0从下面的XML中提取值。你能告诉我xslt代码吗?
<?xml version="1.0" encoding="iso-8859-1"?>
<title>
<locale>
<properties>
<OriginalFileName>UMG_00720616207322_T3_locale.uti</OriginalFileName>
</properties>
</locale>
</title>
期望输出值
720616207322
表达式:
substring-before(substring-after($string, '_'), '_')
将返回"00720616207322"当$string包含"UMG_00720616207322_T3_locale.uti"