XSL是一种用来转换XML文档的样式表,它包括结构转换(XSLT)和格式化输出(XSL-FO)两部分。在结构转换的过程中,XSL通过XPath来查找和定位XML文档中的信息。
基于62个网页-相关网页
现在,您准备好格式化输出了。
J2SE 1.4 版原来的计划是包括对格式化输出的支持。
The original plan for the 1.4 release J2SE included support for formatted output.
用于读取json格式化输出的相应的即时UI web代码位于清单9中。
The corresponding Instant UI web page code to read the JSON formatted output is in Listing 9.
Glancing at the bottom, this is pretty arbitrary, but I chose to format my string as follows: % 1f so at the bottom here I'm printing out %.1f, which quick sanity check means print just one digit after the decimal place.
看下这个底部,这个是相当随意的,但我选择把我的字符串格式化成这样:,所以在这个底部我打印输出,提醒一下,这是一个只打印出,小数点后一位的方法。
But if you avoid all of these minutia and focus really just on the idea, it looks like what was a blue say block, a so called statement, is now going to be something called printf where the F happens to stand for formatted.
但是如果你抛开所有这些繁琐的细节,把注意力集中到,它的编程思想,那么它只不过一个蓝色的say程序块,是一个声明,即所谓的printf函数,其中的f是,用于格式化输出。
Well, here is the F in printf for formatted printing.
这里printf中的f是用于格式化输出的。
应用推荐