On 13/02/2014 14:24, Charles G. wrote:
I thought that if the type were different from toto in the xml, 
xsltapplystylesheet would exit with an error, but it doesn't.

If you want to check if a transform was terminated, you can call 'xsltApplyStylesheetUser' with your own 'xsltTransformContextPtr ctxt' and then test if 'ctxt->state == XSLT_STATE_STOPPED'.

I checked the source (transform.c) and it seems that if xslt encounter a 
terminate=yes, it just skip the element.

No, the transformation should be terminated. If you see that the transformation continues, please provide a self-contained test case.

Nick

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
https://mail.gnome.org/mailman/listinfo/xslt

Reply via email to