【发布时间】:2016-11-26 05:49:18
【问题描述】:
我正在寻找从第一个 XSLT 调用第二个 XSLT 的可能性。
我的 XML 输入看起来像
<xml>
<Subject name ="A1" type="a">
<Subject name ="B2" type="b">
<Subject name ="C1" type="c">
<Subject name ="A2" type="a">
<Subject name ="B1" type="b">
<Subject name ="C2" type="c">
<Subject name ="A3" type="a">
</xml>
我想要做的是类似的事情
<xsl>
if type = "a" call "XSL_A" with above XML-Input
if type = "b" call "XSL_B" with above XML-Input
if type = "c" call "XSL_C" with above XML-Input
Do-Something with above XML-Input
<xsl>
每个“sub-xslt”都应获取完整的输入并对其进行处理,包括创建一个特殊的命名文件。
在网上搜索解决方案或提示没有成功。 这可能吗? 甚至是明智的?
【问题讨论】: