I wand capture error from the http://xmlsoft.org/XSLT/ static libs

To display on a xml/xslt editor in order to communicate the customer where it mistakes on xml or xslt....

I found the error handler from php6 on C# code xslt extension

How i can read va_list args; ? what is? and why a function argument end ,...)

Qt Code:
  1. PHP_RINIT_FUNCTION(xsl)
  2. {
  3. xsltSetGenericErrorFunc(NULL, php_libxml_error_handler);
  4. return SUCCESS;
  5. }
  6.  
  7. PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...)
  8. {
  9. va_list args;
  10. va_start(args, msg);
  11. php_libxml_internal_error_handler(PHP_LIBXML_ERROR, ctx, &msg, args);
  12. va_end(args);
  13. }
To copy to clipboard, switch view to plain text mode