Affiliation:
1. Computer Science School, Complutense University of Madrid Calle Profesor José García Santesmases, Madrid, Spain
Abstract
This paper describes how to use conventional compiler construction tools, and
parser generators in particular, to build XML driven application generators.
In our approach, the document interface is provided by a standard
stream-oriented XML processing framework (e.g., SAX or StAX). This framework
is used to program a generic, customizable XML scanner that transforms
documents into streams of suitable tokens (opening and closing tags,
character data, etc.). The next step is to characterize the syntactic
structure of these streams in terms of generation-specific context-free
grammars. By adding suitable semantic attributes and semantic actions to
these grammars, developers obtain generation-oriented translation schemes:
high-level specifications of the generation tasks. These specifications are
then turned into working application generators by using standard parser
generation technology. We illustrate the approach with <e-Subway>, an
XML-driven generator of shortest-route search applications in subway
networks.
Publisher
National Library of Serbia
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献