基于XML与基于HTML的网站开发与维护的比较研究
Development and Maintenance of XML-Based Versus HTML-Based Websites: A Case Study
摘要:
HTML(超文本置标语言)多年来一直是设计和开发网页的主要工具。内容和格式信息一起放在HTML文档中。XML(可扩展置标语言)是一种用于包含半结构化和结构化信息的文档的置标语言。XML将格式与内容分开。虽然HTML设计的网站需要在更新时与新内容一起包含格式信息,但XML不需要添加格式信息,因为此信息单独包含在XML样式表(XSL)中,并且在添加新内容时不需要更新。另一方面,XML在XML和XSL文件中使用了额外的标记,这增加了空间的使用。在本研究中,我们分别使用HTML和XML设计并实作了两个实验网站。我们使用相同的数据增量更新两个网站,并记录HTML和XML版本的代码大小变化,以评估这些网站的空间效率。
英文摘要:
HTML (Hyper Text Markup Language) has been the primary tool for designing and developing web pages over the years. Content and formatting information are placed together in an HTML document. XML (Extensible Markup Language) is a markup language for documents containing semi-structured and structured information. XML separates formatting from the content. While websites designed in HTML require the formatting information to be included along with the new content when an update occurs, XML does not require adding format information as this information is separately included in XML stylesheets (XSL) and need not be updated when new content is added. On the other hand, XML makes use of extra tags in the XML and XSL files which increase the space usage. In this study, we design and implement two experimental websites using HTML and XML respectively. We incrementally update both websites with the same data and record the change in the size of code for both HTML and XML editions to evaluate the space efficiency of these websites.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。