字符串、文件、HTML 模板
Version 10 introduces a compact syntax for embedding templates inside strings and files, as well as a more elaborate and powerful XML-based syntax that integrates directly into existing XML and HTML documents. The new TextString function makes it easier to convert arbitrary data into text. With support for nesting and conditional evaluation, data can be formatted and inserted into templates from arbitrary hierarchies of lists and associations, making it feasible to build templates incorporating complex data models. Notebook templating makes it easy to interactively create templates that can then be filled programmatically, enabling the automation of many kinds of reporting and analysis.
- 用文件或字符串生成文本.
- 使用文件模板.
- 用 XML 模板生成 HTML.
- 用笔记本模板生成笔记本.
- 将模板存储于 Wolfram Cloud 平台,并将其载入到不同的应用程序.