Back to Search Start Over

Down-Translating XML: The Python Way

Authors :
Alberto Simões and José João Almeida
Simões, Alberto
Almeida, José João
Alberto Simões and José João Almeida
Simões, Alberto
Almeida, José João
Publication Year :
2022

Abstract

Nowadays, the most used approach to process an XML file is based on the processing of a DOM structure and a set of operations that collects or edits information in the model using some kind of selectors (usually CSS-like or XPath). Nevertheless, the process of performing a depth-first walk through the DOM, and synthesizing values, is a simple way to traverse and transform an entire XML document. In this document we discuss the details on the implementation and usage of a Python package for XML document processing based on this structure. Given the existence of similar tools for other programming languages, we will mainly focus on the used approach, that takes advantage of the Python style guides and development patterns.

Details

Database :
OAIster
Notes :
application/pdf, English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1358731489
Document Type :
Electronic Resource
Full Text :
https://doi.org/10.4230.OASIcs.SLATE.2022.15