发明申请
US20060242563A1 Optimizing XSLT based on input XML document structure description and translating XSLT into equivalent XQuery expressions
有权
基于输入XML文档结构描述优化XSLT,并将XSLT转换为等价的XQuery表达式
- 专利标题: Optimizing XSLT based on input XML document structure description and translating XSLT into equivalent XQuery expressions
- 专利标题(中): 基于输入XML文档结构描述优化XSLT,并将XSLT转换为等价的XQuery表达式
-
申请号: US11261684申请日: 2005-10-28
-
公开(公告)号: US20060242563A1公开(公告)日: 2006-10-26
- 发明人: Zhen Liu , Muralidhar Krishnaprasad , Anguel Novoselsky
- 申请人: Zhen Liu , Muralidhar Krishnaprasad , Anguel Novoselsky
- 主分类号: G06F17/00
- IPC分类号: G06F17/00 ; G06F17/30
摘要:
Transformation of a set of XML documents via an XSLT stylesheet is made more efficient by rewriting the stylesheet at compile-time, based on the structural description of the set of XML documents, into an optimized stylesheet containing fewer dynamic template-matching calls than the original stylesheet. This rewritten stylesheet can be further rewritten into a set of XQuery expressions. At compile-time, the particular transformation templates that are appropriate for transforming the particular nodes contained in the set of XML documents are determined, and XSLT calls to the templates are converted to calls to corresponding XQuery user-defined functions. Determination of the appropriate transformation templates may be based on the structural description of the input set of XML documents, such as an XML Schema or Document Type Definition. The data from each template is translated into corresponding XQuery constructors, instructions from the template are translated into XQuery expressions, and the XQuery functions are inlined if possible.
公开/授权文献
信息查询