ภาษาสืบค้นสำหรับ XML, Another XML Query Language (AXQL)

เอกพล จีรังสุวรรณ และ สมนึก คีรีโต
ภาควิชาวิศวกรรมคอมพิวเตอร์
คณะวิศวกรรมศาสตร์ มหาวิทยาลัยเกษตรศาสตร์


ABSTRACT -- The standard of XML improves the way of collecting and using data, both in database and document formats. However, it still lacks mechanism to manage and query data with efficiency. This article proposes another query language for XML that the authors call, Another XML Query Language or AXQL. AXQL is based on previous prominent query languages, XQuery and XSLT. Both languages can work with XML very well. XQuery is easy to understand but it can't deal with complex querying well. XSLT concentrates on the way of processing data that can work with complex querying very well but also makes it hard to use too. AXQL is an attempt to combine their advantages together and get rid of major disadvantages. Hopefully, AXQL can be used to query XML data in both database and complex document forms with efficiency, simplicity, compatibility with other standards of XML and can be easily extended in the future.
KEYWORDS -- XML, Query Language, AXQL, XQuery, XSLT

บทคัดย่อ -- มาตรฐาน XML ทำให้การจัดเก็บและใช้งานข้อมูลที่อยู่ในรูปทั้งฐานข้อมูลและเอกสารมีประสิทธิภาพมากขึ้น อย่างไรก็ตาม XML ยังขาดกลไกในการจัดการและเรียกค้นข้อมูลที่มีประสิทธิภาพ, บทความนี้เป็นการนำเสนอภาษาสืบค้นสำหรับ XML อีกรูปแบบหนึ่งที่ผู้เขียนให้ชื่อว่า Another XML Query Language หรือ AXQL, AXQL ถูกพัฒนาขึ้นโดยมีภาษาต้นแบบ คือ XQuery และ XSLT, ภาษาทั้งสองนี้มีประสิทธิภาพในการจัดการข้อมูล XML มาก อย่างไรก็ตาม XQuery จะเน้นความง่ายในการใช้งานจึงทำให้ไม่สามารถเรียกค้นข้อมูลที่มีความซับซ้อนมากๆ ได้ ในขณะที่ XSLT ซึ่งสามารถทำงานที่มีความซับซ้อนได้ดี แต่จะมีรูปแบบที่ยากต่อการใช้งาน, AXQL เป็นความพยายามในการรวมข้อดีของทั้งสองภาษานี้เข้าด้วยกันและกำจัดข้อเสียที่สำคัญบางประการออกไป โดยหวังว่า AXQL จะสามารถทำงานร่วมกับฐานข้อมูลและเอกสารที่มีความซับซ้อนได้อย่างมีประสิทธิภาพ, ใช้งานได้ง่าย, ทำงานร่วมกับมาตรฐาน XML อื่นๆ ได้อย่างราบรื่น และสามารถขยายความสามารถเพิ่มเติมได้ในอนาคต
คำสำคัญ -- ภาษาสืบค้น, XML, AXQL, XQuery, XSLT


National Electronics and Computer Technology Center (NECTEC)
Copyright  © 2001 By Information System Service Section. All right reserved.