2011-01-04から1日間の記事一覧

XSLT 2.0で便利になった機能(38) union、intersect、except演算子

今回は、union、intersect、except演算子について紹介します.これらの演算子はnode()*をオペランドとして使用します.この3つの中で、XSLT1.0では、union演算子がサポートされていました.実はunionと"|"は同じです.例えばXSLT1.0では <xsl:apply-templates select="frontmatter | chapter | part | appendix | backmatter"/> というように使用</xsl:apply-templates>…