Skip to main content

with_focus_undefined

Function with_focus_undefined 

Source
pub fn with_focus_undefined<R>(undefined: bool, f: impl FnOnce() -> R) -> R
Expand description

Set whether the focus (context item / position / size) is undefined for the duration of f. Restored on return. XSLT 2.0 §10.3 uses this around xsl:function bodies.