SSブログ

調べもの:XSLT format [XMLマスター]

初出:2009-01-18 23:18:51
XMLの学習中にでた知らない単語の調べもの。
XMLマスターの問題集では直接出たことはないのですが、学んでおくことに子としたことはないでしょう。
format-number関数と、decima-format要素があるのが、ややこしいわぁ。


「XSLT format - Google 検索」
http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4GFRC_jaJP217JP218&q=XSLT+format

「Studying XSLT -- for advanced use -- [ format-number関数 ]」
http://www.asahi-net.or.jp/~PS8A-OKZK/xml/xslt10_2/format_number.html

「Java 2 Platform SE 1.3: クラス DecimalFormat」
http://java.sun.com/j2se/1.3/ja/docs/ja/api/java/text/DecimalFormat.html

「たのしいXML: XPathとXSLTの関数 【文字列関数】 format-number」
http://www6.airnet.ne.jp/manyo/xml/functions/step15.html

「XSLT <xsl:decimal-format> Element」
http://www.w3schools.com/xsl/el_decimal-format.asp
「XSLT format-number() Function」
http://www.w3schools.com/XSL/func_formatnumber.asp

「<xsl:decimal-format> の例」
http://msdn.microsoft.com/ja-jp/library/ms256229.aspx
「format-number 関数」
http://msdn.microsoft.com/ja-jp/library/ms256225.aspx
(2011.03.06追加)
format-number関数は、指定された数値、値を指定されたformatで表示する。
decimal-format要素はトップレベル要素に指定。format-number関数の3番目のパラメータに指定することで、decimal-formatに指定したformatで表示ができる。
"The format-number function converts its first argument to a string using the format pattern string specified by the second argument and the decimal-format named by the third argument, or the default decimal-format, if there is no third argument."
「XSL Transformations (XSLT)」
http://www.w3.org/TR/xslt#format-number

タグ:XML XSLT
nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:[必須]
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0