2002
DOI: 10.1007/3-540-36388-2_19
|View full text |Cite
|
Sign up to set email alerts
|

Type-Based XML Processing in Logic Programming

Abstract: Abstract. In this paper we propose a type-based framework for using logic programming for XML processing. We transform XML documents into terms and DTDs into regular types. We implemented a standard type inference algorithm for logic programs and use the types corresponding to the DTDs as additional type declarations for logic programs for XML processing. Due to the correctness of the type inference this makes it possible to use logic programs as an implicitly typed processing language for XML with static type… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
5
0

Year Published

2004
2004
2009
2009

Publication Types

Select...
4
2

Relationship

1
5

Authors

Journals

citations
Cited by 6 publications
(5 citation statements)
references
References 14 publications
0
5
0
Order By: Relevance
“…XML values can be 'embedded' in an existing programming language (the "target") by finding a suitable translation between XML types and types of the programming language [30]. Examples include JAXB [42] for Java, WASH [44] and HaXml [53] for Haskell, various tools [33] such as EaseXML [34] for Python and X-Prolog [11] for Prolog.…”
Section: An Xml Schema-haskell Data Bindingmentioning
confidence: 99%
“…XML values can be 'embedded' in an existing programming language (the "target") by finding a suitable translation between XML types and types of the programming language [30]. Examples include JAXB [42] for Java, WASH [44] and HaXml [53] for Haskell, various tools [33] such as EaseXML [34] for Python and X-Prolog [11] for Prolog.…”
Section: An Xml Schema-haskell Data Bindingmentioning
confidence: 99%
“…Our proposal requires the representation of XML documents into logic programming, and thus it can be compared with those ones representing XML documents in logic programming for instance, (Schaffert and Bry 2002;Coelho and Florido 2003;Cabeza and Hermenegildo 2001;Wielemaker 2005) and, with those ones representing XML documents in relational databases for instance, (Boncz et al 2005;O'Neil et al 2004;Tatarinov et al 2002). In our case, rules are used for expressing the structure of well-formed XML documents, and XML elements are represented by means of facts.…”
Section: Related Workmentioning
confidence: 99%
“…An XML data binding [23] translates an XML document to a value of some programming language. Such bindings have been defined for a number of programming languages including Java [21,24], Python [26], Prolog [7] and Haskell [35,37,1]. The default translation scheme of a data binding may produce unwieldy, convoluted and redundant types and values.…”
Section: Improving a Haskell-xml Schema Data Bindingmentioning
confidence: 99%