XQPage: A Webpage Programming Language Based on XQuery

The paper proposes a new webpage programming language that is based on XQuery: XQPage. It augments the abilities of XQuery to support the Document Object Model in browser, and to support the event response mechanism of DOM objects through extending the updating facility of XQuery. In contrast to the traditional ways using XQuery in webpage currently, it does not need any host language and can be directly applied in webpage design. It enables developers to construct, modify and operate webpage in native XML processing language. The demonstration illustrates that it is flexible, efficient, easy to use and can meet the requirement of most webpage programming.