1 AIT Asian Institute of Technology

Embedding XML/XSLT as data structure into java

AuthorShakya, Manish
Call NumberAIT RSPR no.CS-17-03
Subject(s)XML (Document markup language)
XPath (Computer program language)
Semantic computing

NoteA research study submitted in partial fulfillment of the requirements for the degree of Master of Engineering in Computer Science, School of Engineering and Technology
PublisherAsian Institute of Technology
Series StatementResearch studies project report ; no. CS-17-03
AbstractThe combination of two languages to make a new language by merging the features of two will always be beneficiary. Java programming language is a popular languages with many feature of modularity, abstraction among other but processing in Java is always done in structural approach. XSLT on the other hand is one such language that works on the XML tree structure such that it makes the program move from one point to any other point during its execution. Combination of these two languages, will make a new powerful language that is able to work on the tree structure, this is what this research study aims to do. The aim of this research study is to embedded the tree like data structure similar to XML with Java programming language, so that XML like structure can be represented in Java which was not previously possible. For this purpose, an extension language is developed in Java, and has two main features. The first feature of this language is to provide the tools necessary to define a XML like tree structure. The second feature of this languages is the ability to transform the any tree structure into another one, similar to how XSLT transforms XML tree structures. To help with transformations, this languages also defines path expression which allows the program to move from one node to another during execution. The extension languages is explained using a real world situation of ”Thailand’s Police Departments Traffic Violation Information”. The tree structure of the traffic violation described on the sample problem is build and shown in the interactive user interface. Then that tree structure is transformed into the new one as needed and is shown in user interface in step by step process. This real world example helps in better understanding of types of data and information that can be represented using this language. The example also helps in understanding how tree structure is transformed and shows how nodes moves form one point to another during its execution.
Year2017
Corresponding Series Added EntryAsian Institute of Technology. Research studies project report ; no. CS-17-03
TypeResearch Report
SchoolSchool of Engineering and Technology (SET)
DepartmentDepartment of Information and Communications Technologies (DICT)
Academic Program/FoSComputer Science (CS)
Chairperson(s)Phan Minh Dung;
Examination Committee(s)Bohez, Erik L.J.;Attaphongse Taparugssanagorn;
Scholarship Donor(s)Asian Institute of Technology Fellowship;
DegreeResearch Studies Project Report (M. Eng.) - Asian Institute of Technology, 2017


Usage Metrics
View Detail0
Read PDF0
Download PDF0