調べもの:XSLT position [XMLマスター]
初出:2008-10-05 16:06:41
XMLマスター用の調べもの。
「xslt position - Google 検索」
http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4GFRC_jaJP217JP218&q=xslt+position
「たのしいXML: XPathとXSLTの関数」
http://www6.airnet.ne.jp/manyo/xml/functions/step11.html
「position()とコンテキストノードセット」
http://www.dab.hi-ho.ne.jp/sasa/biboroku/xml-xslt/position.html
「デベロッパーズコーナー:実践!XSLT」
http://www.utj.co.jp/xml/dev/xslt/xslt3_1.html
(2011.02.28追記)
"The position function returns a number equal to the context position from the expression evaluation context."
「XML Path Language (XPath)」
http://www.w3.org/TR/xpath/#function-position
”*[position()=1 and self::para] matches any para element that is the first child element of its parent
para[last()=1] matches any para element that is the only para child element of its parent
items/item[position()>1] matches any item element that has a items parent and that is not the first item child of its parent
item[position() mod 2 = 1] would be true for any item element that is an odd-numbered item child of its parent.”
「XSL Transformations (XSLT) - 5.2 Patterns」
http://www.w3.org/TR/xslt#patterns
XMLマスター用の調べもの。
「xslt position - Google 検索」
http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4GFRC_jaJP217JP218&q=xslt+position
「たのしいXML: XPathとXSLTの関数」
http://www6.airnet.ne.jp/manyo/xml/functions/step11.html
「position()とコンテキストノードセット」
http://www.dab.hi-ho.ne.jp/sasa/biboroku/xml-xslt/position.html
「デベロッパーズコーナー:実践!XSLT」
http://www.utj.co.jp/xml/dev/xslt/xslt3_1.html
(2011.02.28追記)
"The position function returns a number equal to the context position from the expression evaluation context."
「XML Path Language (XPath)」
http://www.w3.org/TR/xpath/#function-position
”*[position()=1 and self::para] matches any para element that is the first child element of its parent
para[last()=1] matches any para element that is the only para child element of its parent
items/item[position()>1] matches any item element that has a items parent and that is not the first item child of its parent
item[position() mod 2 = 1] would be true for any item element that is an odd-numbered item child of its parent.”
「XSL Transformations (XSLT) - 5.2 Patterns」
http://www.w3.org/TR/xslt#patterns
コメント 0