build.xml文件
<fileset dir="Windows/" casesensitive="yes" id="filename.list">
<include name="file1.xml"/>
<include name="file2.xml"/>
<include name="file3.xml"/>
</fileset>
<pathconvert property="filename.list.csv" refid="filename.list" pathsep="," />
<xslt basedir="Windows/" destdir="/meta-inf" extension=".mf" style="test1.xslt" >
<mapper type="glob" from="*.xml" to="test1.mf"/>
<param name="build_date" expression="${build.date}"/>
<param name="dir" expression="${windows.dir}"/>
<param name="file_list" expression="${new.filename.list.csv}"/>
</xslt>
我想从文件集中提取所有三个文件并使用如下:
XSLT文件:
<xsl:variable name="docs" select="document('file1.xml') |
document('file2.xml') | document('file3.xml')"/>
有人可以帮我吗?