【发布时间】:2012-02-01 05:03:23
【问题描述】:
<title>
<article_title>Land a b c d Band</article_title>
</title>
使用以下函数
replace(article_title, '(^[^ ]+)(.+\s+)([^ ]+)$', '$1 $3')
这个字符串被转换为 Land Band,这正是我想要的。
但问题是我在 xslt 1.0 中需要这个解决方案,因为我正在使用的 java 应用程序只能处理 xslt 1.0 解析。
【问题讨论】:
标签: xslt-1.0