检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:彭婉仪 吴家菊[1] 纪斌[1] PENG Wan-yi;WU Jia-ju;JI Bin(Institute of Computer Application,China Academy of Engineering Physics,Mianyang 621900,China)
机构地区:[1]中国工程物理研究院计算机应用研究所,四川绵阳621900
出 处:《电脑与信息技术》2018年第4期24-27,共4页Computer and Information Technology
摘 要:文章研究了XML文档转换为富文本格式的方法,提出了一种基于XSL将XML文档转换HTML格式文档的算法。首先,新建一个与XML文档同名的HTML格式文档;其次定义转换算法,实现XML文档到HTML格式文档的转换;最后,调用系统默认浏览器以查看转换得到的HTML文档。该算法可以基于XSL将XML文档转换为HTML格式文档,以查看和验证XML文档的富文本显示格式是否符合阅读要求。This paper studies methods to transform XML documents into rich-text format,and proposes a XSL based algorithm to transform XML documents into HTML format documents based.Firstly,a new HTML format document with the same name as the XML document is created.Secondly,transformation algorithm is defined,which is used to transform the XML document to the HTML format document.Finally,system default browser is called to view the HTML document obtained from the transformation.Based on XSL,the algorithm can transform XML documents into HTML format document,which can be used to view and verify whether the rich-text display format of the XML document meets the reading requirements.
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7