发明授权
US07949941B2 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
-
公开(公告)号: US07949941B2公开(公告)日: 2011-05-24
- 发明人: Zhen Hua Liu , Muralidhar Krishnaprasad , Anguel Novoselsky
- 申请人: Zhen Hua Liu , Muralidhar Krishnaprasad , Anguel Novoselsky
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Truong & Becker LLP
- 主分类号: G06F17/27
- IPC分类号: G06F17/27
摘要:
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.
公开/授权文献
信息查询