pub fn xsltTransformError(
ctxt: *mut _xsltTransformContext,
style: *mut _xsltStylesheet,
inst: *mut _xmlNode,
msg: *const c_char,
)Expand description
Report an XSLT error.
Faithful port of upstream xsltutils.c xsltTransformError: the
transform context is moved to the error state, the error context line
is printed (upstream xsltPrintErrorContext), and the message is
emitted verbatim through the registered handler or stderr. Messages
carry their own trailing newline, exactly as upstream’s do — no
newline is added here.
The upstream signature is variadic (const char *msg, ...); the
candidate’s callers format the message before calling (a %s/%d
placeholder is never expanded by this function).
§Parameters
ctxt— The transform context (may be null).style— The stylesheet (may be null).inst— The instruction node that triggered the error (may be null).msg— The message, NUL-terminated, typically ending in\n.