Lines Matching refs:cur

79  * @cur:  the import element
87 xsltParseStylesheetImport(xsltStylesheetPtr style, xmlNodePtr cur) {
96 if ((cur == NULL) || (style == NULL))
99 uriRef = xmlGetNsProp(cur, (const xmlChar *)"href", NULL);
101 xsltTransformError(NULL, style, cur,
106 base = xmlNodeGetBase(style->doc, cur);
109 xsltTransformError(NULL, style, cur,
119 xsltTransformError(NULL, style, cur,
145 xsltTransformError(NULL, style, cur,
176 * @cur: the include node
184 xsltParseStylesheetInclude(xsltStylesheetPtr style, xmlNodePtr cur) {
195 if ((cur == NULL) || (style == NULL))
198 uriRef = xmlGetNsProp(cur, (const xmlChar *)"href", NULL);
200 xsltTransformError(NULL, style, cur,
205 base = xmlNodeGetBase(style->doc, cur);
208 xsltTransformError(NULL, style, cur,
220 xsltTransformError(NULL, style, cur,
229 xsltTransformError(NULL, style, cur,
234 if (IS_XSLT_ELEM_FAST(cur) && (cur->psvi != NULL)) {
235 ((xsltStyleItemIncludePtr) cur->psvi)->include = include;
237 xsltTransformError(NULL, style, cur,
280 * @cur: the current XSLT stylesheet
288 xsltNextImport(xsltStylesheetPtr cur) {
289 if (cur == NULL)
291 if (cur->imports != NULL)
292 return(cur->imports);
293 if (cur->next != NULL)
294 return(cur->next) ;
296 cur = cur->parent;
297 if (cur == NULL) break;
298 if (cur->next != NULL) return(cur->next);
299 } while (cur != NULL);
300 return(cur);
391 xsltTemplatePtr cur;
398 cur = style->templates;
399 while (cur != NULL) {
400 if (xmlStrEqual(name, cur->name)) {
401 if (((nameURI == NULL) && (cur->nameURI == NULL)) ||
402 ((nameURI != NULL) && (cur->nameURI != NULL) &&
403 (xmlStrEqual(nameURI, cur->nameURI)))) {
404 return(cur);
407 cur = cur->next;