Patents
US 8,074,166 B2#45322512 Most CitedActiveUnited States (USPTO)Utility

XSLT/XPATH focus inference for optimized XSLT implementation

2Forward Citations (#45322512 Global)
0.1/yrCitation Velocity (#41978875 Global)
0.87Citation PageRank (#49791868 Global)
13Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Techniques are provided for performing focus inference when compiling an Extensible Markup Language Transforms (XSLT) stylesheet into a compiled XSLT processor. In XPath/XSLT, expression evaluation occurs with respect to the dynamic context. In XPath, the part of the dynamic context, related to the context node-set, is called the “focus” of the expression. Conceptually, the focus would need to be systematically computed and propagated along the recursive execution of XSLT templates. This is costly. Focus inference enables the more efficient execution of XSLT programs since the inferred focus information can be used directly by a code generator in an XSLT compilation architecture.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for performing focus inference when compiling an Extensible Markup Language Transforms (XSLT) stylesheet into a compiled XSLT processor, comprising: generating an Abstract Syntax Tree (AST) from said XSLT stylesheet; annotating nodes in said AST that are associated with variables and parameters with focus inference flags, said annotating comprising for each of said nodes determining which of a plurality of focus inference flags that define a focus is required to be maintained; building a reverse call graph for a template associated with the XSLT stylesheet; propagating any focus infer

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Borning et al., "A Type Declaration and Inference System for Smalltalk", Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, Annual Symposium on Principles of Programming Languages, Albuquerque, New Mexico, (No Month Available) 1982, 133-141.
  • Crivat et al., Introducing XsICompiledTransform, Nov. 16, 2005, Microsoft, pp. 1-20.
  • Dong et al., "Static Analysis of XSLT Programs", Proceedings of the 15th Australasian Database Conference (ADC), Australian Computer Science Communications, Dunedin, New Zealand, Jan. 2004, 27, 151-160.
  • Hindley, R., "The principal type scheme of an object in combinatory logic", Transactions of the American Mathematical Society, 146, Dec. 1969, 29-60.
  • Hosoya et al., "XDuce: A Statically Typed XML Processing Language", ACM Transactions on Internet Technology (TOIT), 3(2), May 2003, 117-148.