pub unsafe fn xsltTestPattern(
ctxt: *mut _xsltTransformContext,
pattern: *mut _xsltPattern,
node: *mut _xmlNode,
) -> c_intExpand description
Test whether a node matches a compiled pattern.
§Parameters
ctxt— The transform context (provides XPath context for predicates).pattern— The compiled pattern.node— The node to test.
§Returns
1 if the node matches, 0 otherwise.
§Safety
All pointers must be valid (or null — null pointers return 0).