Artigo Acesso aberto Revisado por pares

Document Object Model based XML Handling in ITK

2012; Linguagem: Inglês

10.54294/uzvmer

ISSN

2327-770X

Autores

Ren Hui Gong, Ziv Yaniv,

Tópico(s)

Advanced Computational Techniques and Applications

Resumo

The Insight Segmentation and Registration Toolkit (ITK) previously provided a framework for parsing Extensible Markup Language (XML) documents using the Simple API for XML (SAX) framework. While this programming model is memory efficient, it places most of the implementation burden on the user. We provide an implementation of the Document Object Model (DOM) framework for parsing XML documents. Using this model, user code is greatly simplified, shifting most of the implementation burden from the user to the framework. The provided implementation consists of two tiers. The lower level tier provides functionality for parsing XML documents and loading the tree structure into memory. It then allows the user to query and retrieve specific entries. The upper tier uses this functionality to provide an interface for mimicking a serialization and de-serialization mechanism for ITK objects. The implementation described in this document was incorporated into ITK as part of release 4.2.

Referência(s)
Altmetric
PlumX