Results of stylesheet combining depends on the position of xsl:include or xsl:import.
<xslTutorial >
|
|
<AAA/>
|
<BBB/>
|
<CCC/>
|
</xslTutorial> |
|
<DIV style="color:red">AAA (according to Stylesheet 1 (id2.xsl)</DIV>
|
<DIV style="color:red">BBB (according to Stylesheet 1 (id2.xsl)</DIV>
|
<DIV style="color:red">CCC (according to Stylesheet 1 (id2.xsl)</DIV>
|
AAA (according to Stylesheet 1 (id2.xsl)
BBB (according to Stylesheet 1 (id2.xsl)
CCC (according to Stylesheet 1 (id2.xsl)
|
<DIV style="color:blue">AAA(according to this stylesheet)</DIV>
|
<DIV style="color:blue">BBB(according to this stylesheet)</DIV>
|
<DIV style="color:blue">CCC(according to this stylesheet)</DIV>
|
AAA(according to this stylesheet)
BBB(according to this stylesheet)
CCC(according to this stylesheet)
|
<DIV style="color:blue">AAA(according to this stylesheet)</DIV>
|
<DIV style="color:blue">BBB(according to this stylesheet)</DIV>
|
<DIV style="color:blue">CCC(according to this stylesheet)</DIV>
|
AAA(according to this stylesheet)
BBB(according to this stylesheet)
CCC(according to this stylesheet)
|
<DIV style="color:red">AAA (according to Stylesheet 1 (id2.xsl)</DIV>
|
<DIV style="color:red">BBB (according to Stylesheet 1 (id2.xsl)</DIV>
|
<DIV style="color:red">CCC (according to Stylesheet 1 (id2.xsl)</DIV>
|
AAA (according to Stylesheet 1 (id2.xsl)
BBB (according to Stylesheet 1 (id2.xsl)
CCC (according to Stylesheet 1 (id2.xsl)
|
<DIV style="color:red">AAA (according to Stylesheet 1 (id2.xsl)</DIV>
|
<DIV style="color:red">BBB (according to Stylesheet 1 (id2.xsl)</DIV>
|
<DIV style="color:red">CCC (according to Stylesheet 1 (id2.xsl)</DIV>
|
AAA (according to Stylesheet 1 (id2.xsl)
BBB (according to Stylesheet 1 (id2.xsl)
CCC (according to Stylesheet 1 (id2.xsl)