Listing 2 follows a general pattern of reading the source XML tree and then adding corresponding nodes to the output HTML subtree.
清单2使用普通模式读取源xml树,然后将相应的节点添加到输出html子树中。
Then the general structure of the XSL style sheets is shown; the style sheets are used to transform the XML data to any desired output format.
然后,显示xsl样式表的通用结构,样式表用来将XML数据变换成任何期望的输出格式。
The code in Listing 2 is meant to demonstrate the general logic of the output class.
清单2中的代码旨在演示输出类的通用逻辑。
应用推荐