License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/OASIcs.SLATE.2017.9
URN: urn:nbn:de:0030-drops-79442
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2017/7944/
Go to the corresponding OASIcs Volume Portal


Simões, Alberto

XML Parsing in JavaScript

pdf-format:
OASIcs-SLATE-2017-9.pdf (0.4 MB)


Abstract

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.

BibTeX - Entry

@InProceedings{simes:OASIcs:2017:7944,
  author =	{Alberto Sim{\~o}es},
  title =	{{XML Parsing in JavaScript}},
  booktitle =	{6th Symposium on Languages, Applications and Technologies (SLATE 2017)},
  pages =	{9:1--9:10},
  series =	{OpenAccess Series in Informatics (OASIcs)},
  ISBN =	{978-3-95977-056-9},
  ISSN =	{2190-6807},
  year =	{2017},
  volume =	{56},
  editor =	{Ricardo Queir{\'o}s and M{\'a}rio Pinto and Alberto Sim{\~o}es and Jos{\'e} Paulo Leal and Maria Jo{\~a}o Varanda},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2017/7944},
  URN =		{urn:nbn:de:0030-drops-79442},
  doi =		{10.4230/OASIcs.SLATE.2017.9},
  annote =	{Keywords: XML, JSON, Parsing, JavaScript}
}

Keywords: XML, JSON, Parsing, JavaScript
Collection: 6th Symposium on Languages, Applications and Technologies (SLATE 2017)
Issue Date: 2017
Date of publication: 04.10.2017


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI