Lines Matching +defs:doc +defs:string
13 #include <string.h>
355 xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
367 ret = xmlXIncludeProcessFlags(doc, XSLT_PARSE_OPTIONS);
369 ret = xmlXIncludeProcess(doc);
388 res = xsltApplyStylesheet(cur, doc, params);
390 xmlFreeDoc(doc);
393 doc = htmlReadFile(filename, encoding, options);
396 doc = xmlReadFile(filename, encoding, options);
399 ctxt = xsltNewTransformContext(cur, doc);
408 res = xsltApplyStylesheetUser(cur, doc, params, NULL,
411 res = xsltApplyStylesheetUser(cur, doc, params, NULL,
425 xmlFreeDoc(doc);
468 ctxt = xsltNewTransformContext(cur, doc);
480 ret = xsltRunStylesheetUser(cur, doc, params, output,
483 ret = xsltRunStylesheetUser(cur, doc, params, output,
495 xmlFreeDoc(doc);
523 printf("\t string values must be quoted like \"'string'\"\n or");
525 printf("\t--stringparam name value : pass a (parameter, UTF8 string value) pair\n");
551 xmlDocPtr doc, style;
699 const xmlChar *string;
704 string = (const xmlChar *) argv[i];
705 if (xmlStrchr(string, '"')) {
706 if (xmlStrchr(string, '\'')) {
712 value = xmlStrcat(value, string);
716 value = xmlStrcat(value, string);
872 doc = NULL;
877 doc = htmlReadFile(argv[i], encoding, options);
880 doc = xmlReadFile(argv[i], encoding, options);
881 if (doc == NULL) {
888 xsltProcess(doc, cur, argv[i]);