2024-03-29T20:26:37Zhttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_oaipmhoai:ipsj.ixsq.nii.ac.jp:000214392024-03-29T05:26:34Z01164:01384:01414:01418
LispへのXML文書構造変換言語の埋め込みとそれのシャッフル表現への拡張Embedding XML transformation language in Lisp and its extension to shuffle expressionjpnhttp://id.nii.ac.jp/1001/00021439/Technical Reporthttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_action_common_download&item_id=21439&item_no=1&attribute_id=1&file_no=1Copyright (c) 2002 by the Information Processing Society of Japan東京大学東京大学紙名, 哲生玉井, 哲雄本研究ではXML文書の構造変換を行う方式として,パターンマッチを使ったXML文書構造変換用の構文を,マクロを使ってLispの拡張として実装する方法を提案する.これにより,LispからXML文書構造変換言語をシームレスに呼び出すことが可能になる.またこのパターンマッチの構文をシャッフル表現が記述できるように拡張した.これにより,RELAX NGのようにインターリーブ型のあるスキーマを持つXML文書に対してもパターンマッチが可能になる.変換先のXML文書の妥当性は動的に検証する方法を採用し,スキーマを変更してもシステムを再コンパイルする必要がない.In this paper, we propose a new approach to achieve XML transformations: embedding XML transformation language in Lisp. By this approach, we can seamlessly use the functions of XML transformations from Lisp. The novel feature of this language is shuffle expression pattern matching. It supports shuffle operator, as RELAX NG schema language does, and shuffle closure operator. The validity of transformed XML documents can be dynamically checked. This makes it possible to change schemas of XML documents without recompiling the systems.AN10112981情報処理学会研究報告ソフトウェア工学(SE) 200223(2001-SE-136)1271342002-03-072009-06-30