#[unsafe(no_mangle)]pub unsafe extern "C" fn xsltPreComputeExtModuleElement(
style: *mut _xsltStylesheet,
inst: *mut _xmlNode,
) -> *mut _xsltElemPreCompExpand description
Precompute an extension module element.
§UPSTREAM-PARITY
xsltElemPreCompPtr
xsltPreComputeExtModuleElement(xsltStylesheetPtr style, xmlNodePtr inst);Looks the element up in the extension-element registry by
(inst->name, inst->ns->href); if the registered module provides a
precomputation callback it is used, otherwise a default
_xsltElemPreComp is created with the registered transform function.
§ENGINE-WIRING
The candidate mirror of upstream’s global xsltElementsHash is the
private registry in this module (XSLT_ELEMENTS_REGISTRY). The
ext-family ABI (exports_xslt_ext.rs) owns the public registration
functions; this module’s registry is populated through them by
whichever agent wires the module-level registration (documented
cross-family wire-up point). With an empty registry the function
returns NULL exactly like upstream with no registered elements.
§SAFETY
stylemust be a valid_xsltStylesheet, or NULL.instmust be a valid element node, or NULL.