調べもの:XSLT 組み込みテンプレートルール [XMLマスター]
初出:2008-03-09 09:38:22
XMLマスターの学習中。
XML Schema, XSLT, システム構築技術あたりが鬼門です。
「XSLT 組 込 テンプレートルール - Google 検索」
http://www.google.co.jp/search?hl=ja&rlz=1T4GFRC_jaJP217JP218&q=XSLT%E3%80%80%E7%B5%84%E3%80%80%E8%BE%BC%E3%80%80%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%83%AB%E3%83%BC%E3%83%AB&lr=
「ツリーに沿った処理の流れと、組み込みテンプレートルール」
http://www.abe.or.jp/yuragi/gsxslt/p003/p003.asp
「XMLマスター:ベーシック【XSLT】 チェックポイント Part2 - すきっぴーの全部まるっとお見通しだ!」
http://d.hatena.ne.jp/skippy/20050616/1118939982
「XSLTを書いてみよう(2)」
http://biz.ascii24.com/biz/column/xml/article/2000/08/29/531488-002.html
「XSLTを書いてみよう(2)」
http://biz.ascii24.com/biz/column/xml/article/2000/08/29/print/531488.html
(2011.03.06追加)
「XSL Transformations (XSLT) - 5.8 Built-in Template Rules」
http://www.w3.org/TR/xslt#built-in-rule
要素の場合は、子要素へのテンプレート適用が組み込みテンプレート。
<xsl:template match="*|/">
<xsl:apply-templates/>
</xsl:template>
テキスト、属性の場合は値を出力
<xsl:template match="text()|@*">
XMLマスターの学習中。
XML Schema, XSLT, システム構築技術あたりが鬼門です。
「XSLT 組 込 テンプレートルール - Google 検索」
http://www.google.co.jp/search?hl=ja&rlz=1T4GFRC_jaJP217JP218&q=XSLT%E3%80%80%E7%B5%84%E3%80%80%E8%BE%BC%E3%80%80%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%83%AB%E3%83%BC%E3%83%AB&lr=
「ツリーに沿った処理の流れと、組み込みテンプレートルール」
http://www.abe.or.jp/yuragi/gsxslt/p003/p003.asp
「XMLマスター:ベーシック【XSLT】 チェックポイント Part2 - すきっぴーの全部まるっとお見通しだ!」
http://d.hatena.ne.jp/skippy/20050616/1118939982
「XSLTを書いてみよう(2)」
http://biz.ascii24.com/biz/column/xml/article/2000/08/29/531488-002.html
「XSLTを書いてみよう(2)」
http://biz.ascii24.com/biz/column/xml/article/2000/08/29/print/531488.html
(2011.03.06追加)
「XSL Transformations (XSLT) - 5.8 Built-in Template Rules」
http://www.w3.org/TR/xslt#built-in-rule
要素の場合は、子要素へのテンプレート適用が組み込みテンプレート。
<xsl:template match="*|/">
<xsl:apply-templates/>
</xsl:template>
テキスト、属性の場合は値を出力
<xsl:template match="text()|@*">
2011-03-06 16:02
nice!(0)
コメント(0)
トラックバック(0)
コメント 0