Difficulty: Easy
Correct Answer: Context oriented
Explanation:
Introduction / Context:
XSLT applies template rules to nodes in an XML tree. Each rule is evaluated in a current “context” that includes the current node, position, size, and variable bindings. This question asks for the best description of that evaluation approach.
Given Data / Assumptions:
Concept / Approach:
XSLT is explicitly context oriented. Every expression depends on the current node and context. Unlike procedural or object models, XSLT is declarative and rule-based, with control flow emerging from pattern matches and template priorities.
Step-by-Step Solution:
Verification / Alternative check:
Review any XSLT example: apply-templates selects a node set; each node gets its own context for matching and processing.
Why Other Options Are Wrong:
Common Pitfalls:
Expecting imperative flow; in XSLT, control is driven by matches and context propagation, not procedural loops alone.
Final Answer:
Context oriented
Discussion & Comments