首页    期刊浏览 2024年11月23日 星期六
登录注册

文章基本信息

  • 标题:XML Parsing in JavaScript
  • 本地全文:下载
  • 作者:Alberto Sim{\~o}es
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2017
  • 卷号:56
  • 页码:9:1-9:10
  • DOI:10.4230/OASIcs.SLATE.2017.9
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:With Web 2.0 the dynamic web got to a reality. With it, some new concepts arived, like the use of asynchronous calls to receive missing data to render a website, instead of requesting a full new page to the server. For this task, and in the recent years, developers use mostly the JSON format for the interchange of data, than XML. Nevertheless, XML is more suitable for some kind of data interchange but, and even if the web is based in SGML/XML standards, processing XML using directly JavaScript is tricky. In this document, a set of different approaches to parse XML with JavaScript will be described, and a new module, based on a set of translation functions, will be presented. At the end, a set of experiments will be discussed, trying to evaluate how versatile the proposed approach is.
  • 关键词:XML; JSON; Parsing; JavaScript
国家哲学社会科学文献中心版权所有