Skip to main content

xsltTransformError

Function xsltTransformError 

Source
pub fn xsltTransformError(
    ctxt: *mut _xsltTransformContext,
    style: *mut _xsltStylesheet,
    inst: *mut _xmlNode,
    msg: *const c_char,
)
Expand description

Report an XSLT error.

Logs an error message associated with the given transform context, stylesheet, and instruction node. The message is a printf-style format string followed by variadic arguments. The variadic arguments are not expanded (matching the safe subset); the raw message is recorded.

§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 printf-style format string.