The getRepositoryDocument() method gets the actual document data, the Document class object.
getRepositoryDocument() 方法可以获取实际的文档数据,即 Document 类对象。
The transformToXML() method, which accepts the source XML data as an input argument, is then used to transform the XML document into an HTML page, using the rules specified in the XSL stylesheet.
transformToXML() 方法接受源 XML 数据作为输入参数,然后使用 XSL 样式表中指定的规则将 XML 文档转换为 HTML 页面。
The edit document process is similar in operation, using a different URL, and using the POST method of HttpConnect to save the data from the Doc portlet.
编辑文档的过程是相似的,但是要使用不同的 URL,并使用 HttpConnect 的 POST 方法保存来自 Doc portlet 的数据。
应用推荐