Listing 2 shows the sample code used to transfer an XML document to a text, based on the XSL file saved on a specific path.
清单2展示了用于根据保存在特定路径的XSL文件将XML文档传输给文本的示例代码。
Be sure to transfer the file in text mode so that lined ends are converted.
确保以文本模式转移文件,以便行结尾被转换。
Because it is serialized as a text file, you can transfer an XML document in any of the ways that you can transfer a text file.
由于XML文档已序列化为文本文件,因此可以使用能传输文本文件的任何方式来传输该文档。
应用推荐