清单25.在资源类中生成文本媒体类型。
M2T项目致力于通过模型生成文本工件,其目的有三。
The M2T project focuses on the generation of textual artifacts from models. Its purpose is threefold.
国际化适配器日志和跟踪消息需要消息文件的使用来生成文本消息。
Internationalizing the adapter log and trace messages requires the usage of message files to generate text messages.
你可以用文本模板来生成文本的输出,例如代码文件和HTML报表。
You can use text templates to create text artifacts such as code files and HTML reports.
有两个常用来生成文本输出的标准UNIX命令:cat和echo。
There are two standard UNIX commands that are often used to generate some textual output: cat and echo.
它生成文本输出,而不是HTML或XML,但它也足以显示我的跟踪工作正常。
It generates text output rather than HTML or XML, but it'll suffice to demonstrate that my trace is doing the right thing.
既然您已经了解了至少5种生成文本的方式,下面让我们来看一些进行简单文本转换的示例。
Now that you know at least five different ways of generating some text, let's look at doing some simple translations on it.
有了JET工具箱,您就可以使用包含文本和 JET命令(标签)的模板来从一个模型生成文本文件。
With the JET toolkit, you can generate text files from a model by using templates that contain text and JET commands (tags).
DOM规范涵盖了文档表示的所有类型的操作,但是它没有涉及例如对文档的语法分析和生成文本输出这样的问题。
The DOM specification covers all types of manipulations of a document representation, but it does not cover issues such as parsing a document and generating text output.
生成文本框、下拉列表、以及其它元素的HTML辅助方法有一个十分灵活的特性,可以用来与模型绑定相关联。
The HTML helper methods that create text boxes, drop-downs, and other elements have a very handy feature that can be used in conjunction with model binding.
这很适合于生成文本输出,但是在转换成其它输出形式(例如用于构建文档的DOM表示的解析事件流)时会很困难。
This worked well for generating text output, but would have been difficult to convert to other forms of output (such as a parse event stream for building a DOM representation of the document).
如果没有打印机驱动程序,应用程序生成的命令将被直接打印成文本,从而造成纸张浪费。
Without the printer driver, the commands that the application generates will be printed directly as text, resulting in reams of garbage.
内联文件包含您在生成文件中指定的文本。
内联文件包含您在生成文件中指定的文本。
应用推荐