• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/libxslt-13/libxslt/libxslt/

Lines Matching refs:style

2  * preproc.c: Preprocessing of style operations
63 * @style: the XSLT stylesheet
72 xsltCheckTopLevelElement(xsltStylesheetPtr style, xmlNodePtr inst, int err) {
74 if ((style == NULL) || (inst == NULL) || (inst->ns == NULL))
80 xsltTransformError(NULL, style, inst,
82 style->errors++;
92 xsltTransformError(NULL, style, inst,
95 style->errors++;
104 * @style: the XSLT stylesheet
110 xsltCheckInstructionElement(xsltStylesheetPtr style, xmlNodePtr inst) {
114 if ((style == NULL) || (inst == NULL) || (inst->ns == NULL) ||
115 (style->literal_result))
118 has_ext = (style->extInfos != NULL);
122 xsltTransformError(NULL, style, inst,
124 style->errors++;
143 (xmlHashLookup(style->extInfos, parent->ns->href) != NULL))
148 xsltTransformError(NULL, style, inst,
151 style->errors++;
156 * @style: the XSLT stylesheet
165 xsltCheckParentElement(xsltStylesheetPtr style, xmlNodePtr inst,
169 if ((style == NULL) || (inst == NULL) || (inst->ns == NULL) ||
170 (style->literal_result))
175 xsltTransformError(NULL, style, inst,
177 style->errors++;
188 if (style->extInfos != NULL) {
195 (xmlHashLookup(style->extInfos, parent->ns->href) != NULL))
201 xsltTransformError(NULL, style, inst,
204 style->errors++;
216 * @style: the XSLT stylesheet
225 xsltNewStylePreComp(xsltStylesheetPtr style, xsltStyleType type) {
231 if (style == NULL)
285 xsltTransformError(NULL, style, NULL,
287 style->errors++;
295 xsltTransformError(NULL, style, NULL,
297 style->errors++;
308 xsltTransformError(NULL, style, NULL,
310 style->errors++;
363 xsltTransformError(NULL, style, NULL,
365 style->errors++;
368 cur->next = style->preComps;
369 style->preComps = (xsltElemPreCompPtr) cur;
523 * @style: the XSLT stylesheet
532 xsltDocumentComp(xsltStylesheetPtr style, xmlNodePtr inst,
555 xsltNewStylePreComp(style, XSLT_FUNC_DOCUMENT);
557 comp = xsltNewStylePreComp(style, XSLT_FUNC_DOCUMENT);
578 filename = xsltEvalStaticAttrValueTemplate(style, inst,
651 filename = xsltEvalStaticAttrValueTemplate(style, inst,
671 * @style: the XSLT stylesheet
677 xsltSortComp(xsltStylesheetPtr style, xmlNodePtr inst) {
683 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
687 comp = (xsltStyleItemSortPtr) xsltNewStylePreComp(style, XSLT_FUNC_SORT);
689 comp = xsltNewStylePreComp(style, XSLT_FUNC_SORT);
697 comp->stype = xsltEvalStaticAttrValueTemplate(style, inst,
706 xsltTransformError(NULL, style, inst,
709 if (style != NULL) style->warnings++;
712 comp->order = xsltEvalStaticAttrValueTemplate(style, inst,
721 xsltTransformError(NULL, style, inst,
724 if (style != NULL) style->warnings++;
727 comp->case_order = xsltEvalStaticAttrValueTemplate(style, inst,
736 xsltTransformError(NULL, style, inst,
739 if (style != NULL) style->warnings++;
743 comp->lang = xsltEvalStaticAttrValueTemplate(style, inst,
753 comp->select = xsltGetCNsProp(style, inst,(const xmlChar *)"select", XSLT_NAMESPACE);
760 comp->select = xmlDictLookup(style->dict, BAD_CAST ".", 1);
762 comp->comp = xsltXPathCompile(style, comp->select);
764 xsltTransformError(NULL, style, inst,
767 if (style != NULL) style->errors++;
770 xsltTransformError(NULL, style, inst,
772 if (style != NULL) style->errors++;
778 * @style: the XSLT stylesheet
784 xsltCopyComp(xsltStylesheetPtr style, xmlNodePtr inst) {
791 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
794 comp = (xsltStyleItemCopyPtr) xsltNewStylePreComp(style, XSLT_FUNC_COPY);
796 comp = xsltNewStylePreComp(style, XSLT_FUNC_COPY);
805 comp->use = xsltGetCNsProp(style, inst, (const xmlChar *)"use-attribute-sets",
818 * @style: an XSLT compiled stylesheet
827 xsltTextComp(xsltStylesheetPtr style, xmlNodePtr inst) {
835 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
839 comp = (xsltStyleItemTextPtr) xsltNewStylePreComp(style, XSLT_FUNC_TEXT);
841 comp = xsltNewStylePreComp(style, XSLT_FUNC_TEXT);
849 prop = xsltGetCNsProp(style, inst,
857 xsltTransformError(NULL, style, inst,
859 if (style != NULL) style->warnings++;
867 * @style: an XSLT compiled stylesheet
873 xsltElementComp(xsltStylesheetPtr style, xmlNodePtr inst) {
888 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
892 comp = (xsltStyleItemElementPtr) xsltNewStylePreComp(style, XSLT_FUNC_ELEMENT);
894 comp = xsltNewStylePreComp(style, XSLT_FUNC_ELEMENT);
908 comp->name = xsltEvalStaticAttrValueTemplate(style, inst,
911 xsltTransformError(NULL, style, inst,
913 style->errors++;
922 comp->ns = xsltEvalStaticAttrValueTemplate(style, inst,
927 xsltTransformError(NULL, style, inst,
930 style->errors++;
934 name = xsltSplitQName(style->dict, comp->name, &prefix);
947 comp->ns = xmlDictLookup(style->dict, ns->href, -1);
954 xsltTransformError(NULL, style, inst,
959 style->errors++;
975 comp->use = xsltEvalStaticAttrValueTemplate(style, inst,
985 * @style: an XSLT compiled stylesheet
991 xsltAttributeComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1005 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1009 comp = (xsltStyleItemAttributePtr) xsltNewStylePreComp(style,
1012 comp = xsltNewStylePreComp(style, XSLT_FUNC_ATTRIBUTE);
1026 comp->name = xsltEvalStaticAttrValueTemplate(style, inst,
1030 xsltTransformError(NULL, style, inst,
1032 style->errors++;
1041 comp->ns = xsltEvalStaticAttrValueTemplate(style, inst,
1047 xsltTransformError(NULL, style, inst,
1050 style->errors++;
1052 xsltTransformError(NULL, style, inst,
1054 style->errors++;
1058 name = xsltSplitQName(style->dict, comp->name, &prefix);
1072 comp->ns = xmlDictLookup(style->dict, ns->href, -1);
1079 xsltTransformError(NULL, style, inst,
1085 style->errors++;
1095 * @style: an XSLT compiled stylesheet
1101 xsltCommentComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1108 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1112 comp = (xsltStyleItemCommentPtr) xsltNewStylePreComp(style, XSLT_FUNC_COMMENT);
1114 comp = xsltNewStylePreComp(style, XSLT_FUNC_COMMENT);
1125 * @style: an XSLT compiled stylesheet
1131 xsltProcessingInstructionComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1138 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1142 comp = (xsltStyleItemPIPtr) xsltNewStylePreComp(style, XSLT_FUNC_PI);
1144 comp = xsltNewStylePreComp(style, XSLT_FUNC_PI);
1152 comp->name = xsltEvalStaticAttrValueTemplate(style, inst,
1159 * @style: an XSLT compiled stylesheet
1165 xsltCopyOfComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1172 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1176 comp = (xsltStyleItemCopyOfPtr) xsltNewStylePreComp(style, XSLT_FUNC_COPYOF);
1178 comp = xsltNewStylePreComp(style, XSLT_FUNC_COPYOF);
1186 comp->select = xsltGetCNsProp(style, inst, (const xmlChar *)"select",
1189 xsltTransformError(NULL, style, inst,
1191 if (style != NULL) style->errors++;
1194 comp->comp = xsltXPathCompile(style, comp->select);
1196 xsltTransformError(NULL, style, inst,
1199 if (style != NULL) style->errors++;
1205 * @style: an XSLT compiled stylesheet
1211 xsltValueOfComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1219 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1223 comp = (xsltStyleItemValueOfPtr) xsltNewStylePreComp(style, XSLT_FUNC_VALUEOF);
1225 comp = xsltNewStylePreComp(style, XSLT_FUNC_VALUEOF);
1233 prop = xsltGetCNsProp(style, inst,
1241 xsltTransformError(NULL, style, inst,
1243 if (style != NULL) style->warnings++;
1246 comp->select = xsltGetCNsProp(style, inst, (const xmlChar *)"select",
1249 xsltTransformError(NULL, style, inst,
1251 if (style != NULL) style->errors++;
1254 comp->comp = xsltXPathCompile(style, comp->select);
1256 xsltTransformError(NULL, style, inst,
1259 if (style != NULL) style->errors++;
1264 xsltGetQNameProperty(xsltStylesheetPtr style, xmlNodePtr inst,
1279 prop = xsltGetCNsProp(style, inst, propName, XSLT_NAMESPACE);
1282 xsltTransformError(NULL, style, inst,
1284 style->errors++;
1291 xsltTransformError(NULL, style, inst,
1294 style->errors++;
1300 URI = xsltGetQNameURI2(style, inst, &prop);
1302 style->errors++;
1314 *nsName = xmlDictLookup(style->dict, URI, -1);
1325 * @style: an XSLT compiled stylesheet
1337 xsltWithParamComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1344 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1348 comp = (xsltStyleItemWithParamPtr) xsltNewStylePreComp(style, XSLT_FUNC_WITHPARAM);
1350 comp = xsltNewStylePreComp(style, XSLT_FUNC_WITHPARAM);
1361 xsltGetQNameProperty(style, inst, BAD_CAST "name",
1368 comp->select = xsltGetCNsProp(style, inst, (const xmlChar *)"select",
1371 comp->comp = xsltXPathCompile(style, comp->select);
1373 xsltTransformError(NULL, style, inst,
1376 style->errors++;
1379 xsltTransformError(NULL, style, inst,
1382 style->warnings++;
1389 * @style: an XSLT compiled stylesheet
1395 xsltNumberComp(xsltStylesheetPtr style, xmlNodePtr cur) {
1403 if ((style == NULL) || (cur == NULL) || (cur->type != XML_ELEMENT_NODE))
1407 comp = (xsltStyleItemNumberPtr) xsltNewStylePreComp(style, XSLT_FUNC_NUMBER);
1409 comp = xsltNewStylePreComp(style, XSLT_FUNC_NUMBER);
1416 if ((style == NULL) || (cur == NULL))
1421 comp->numdata.value = xsltGetCNsProp(style, cur, (const xmlChar *)"value",
1424 prop = xsltEvalStaticAttrValueTemplate(style, cur,
1428 comp->numdata.format = xmlDictLookup(style->dict, BAD_CAST "" , 0);
1433 comp->numdata.count = xsltGetCNsProp(style, cur, (const xmlChar *)"count",
1435 comp->numdata.from = xsltGetCNsProp(style, cur, (const xmlChar *)"from",
1438 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"count", XSLT_NAMESPACE);
1440 comp->numdata.countPat = xsltCompilePattern(prop, cur->doc, cur, style,
1444 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"from", XSLT_NAMESPACE);
1446 comp->numdata.fromPat = xsltCompilePattern(prop, cur->doc, cur, style,
1450 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"level", XSLT_NAMESPACE);
1457 xsltTransformError(NULL, style, cur,
1459 if (style != NULL) style->warnings++;
1463 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"lang", XSLT_NAMESPACE);
1465 xsltTransformError(NULL, style, cur,
1470 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"letter-value", XSLT_NAMESPACE);
1473 xsltTransformError(NULL, style, cur,
1475 if (style != NULL) style->warnings++;
1478 xsltTransformError(NULL, style, cur,
1480 if (style != NULL) style->warnings++;
1483 xsltTransformError(NULL, style, cur,
1485 if (style != NULL) style->warnings++;
1489 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"grouping-separator",
1497 prop = xsltGetCNsProp(style, cur, (const xmlChar *)"grouping-size", XSLT_NAMESPACE);
1507 comp->numdata.level = xmlDictLookup(style->dict,
1516 * @style: an XSLT compiled stylesheet
1522 xsltApplyImportsComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1529 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1533 comp = (xsltStyleItemApplyImportsPtr) xsltNewStylePreComp(style, XSLT_FUNC_APPLYIMPORTS);
1535 comp = xsltNewStylePreComp(style, XSLT_FUNC_APPLYIMPORTS);
1546 * @style: an XSLT compiled stylesheet
1552 xsltCallTemplateComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1559 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1564 xsltNewStylePreComp(style, XSLT_FUNC_CALLTEMPLATE);
1566 comp = xsltNewStylePreComp(style, XSLT_FUNC_CALLTEMPLATE);
1577 xsltGetQNameProperty(style, inst, BAD_CAST "name",
1585 * @style: an XSLT compiled stylesheet
1591 xsltApplyTemplatesComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1598 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1603 xsltNewStylePreComp(style, XSLT_FUNC_APPLYTEMPLATES);
1605 comp = xsltNewStylePreComp(style, XSLT_FUNC_APPLYTEMPLATES);
1616 xsltGetQNameProperty(style, inst, BAD_CAST "mode",
1621 comp->select = xsltGetCNsProp(style, inst, BAD_CAST "select",
1624 comp->comp = xsltXPathCompile(style, comp->select);
1626 xsltTransformError(NULL, style, inst,
1629 style->errors++;
1637 * @style: an XSLT compiled stylesheet
1643 xsltChooseComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1650 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1655 xsltNewStylePreComp(style, XSLT_FUNC_CHOOSE);
1657 comp = xsltNewStylePreComp(style, XSLT_FUNC_CHOOSE);
1668 * @style: an XSLT compiled stylesheet
1674 xsltIfComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1681 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1686 xsltNewStylePreComp(style, XSLT_FUNC_IF);
1688 comp = xsltNewStylePreComp(style, XSLT_FUNC_IF);
1696 comp->test = xsltGetCNsProp(style, inst, (const xmlChar *)"test", XSLT_NAMESPACE);
1698 xsltTransformError(NULL, style, inst,
1700 if (style != NULL) style->errors++;
1703 comp->comp = xsltXPathCompile(style, comp->test);
1705 xsltTransformError(NULL, style, inst,
1708 if (style != NULL) style->errors++;
1714 * @style: an XSLT compiled stylesheet
1720 xsltWhenComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1727 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1732 xsltNewStylePreComp(style, XSLT_FUNC_WHEN);
1734 comp = xsltNewStylePreComp(style, XSLT_FUNC_WHEN);
1742 comp->test = xsltGetCNsProp(style, inst, (const xmlChar *)"test", XSLT_NAMESPACE);
1744 xsltTransformError(NULL, style, inst,
1746 if (style != NULL) style->errors++;
1749 comp->comp = xsltXPathCompile(style, comp->test);
1751 xsltTransformError(NULL, style, inst,
1754 if (style != NULL) style->errors++;
1760 * @style: an XSLT compiled stylesheet
1766 xsltForEachComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1773 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1778 xsltNewStylePreComp(style, XSLT_FUNC_FOREACH);
1780 comp = xsltNewStylePreComp(style, XSLT_FUNC_FOREACH);
1788 comp->select = xsltGetCNsProp(style, inst, (const xmlChar *)"select",
1791 xsltTransformError(NULL, style, inst,
1793 if (style != NULL) style->errors++;
1795 comp->comp = xsltXPathCompile(style, comp->select);
1797 xsltTransformError(NULL, style, inst,
1800 if (style != NULL) style->errors++;
1808 * @style: an XSLT compiled stylesheet
1814 xsltVariableComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1821 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1826 xsltNewStylePreComp(style, XSLT_FUNC_VARIABLE);
1828 comp = xsltNewStylePreComp(style, XSLT_FUNC_VARIABLE);
1843 xsltGetQNameProperty(style, inst, BAD_CAST "name",
1850 comp->select = xsltGetCNsProp(style, inst, (const xmlChar *)"select",
1856 comp->comp = xsltXPathCompile(style, comp->select);
1858 xsltTransformError(NULL, style, inst,
1861 style->errors++;
1865 xsltTransformError(NULL, style, inst,
1868 style->errors++;
1875 xsltTransformError(NULL, style, inst,
1878 style->errors++;
1887 * @style: an XSLT compiled stylesheet
1893 xsltParamComp(xsltStylesheetPtr style, xmlNodePtr inst) {
1900 if ((style == NULL) || (inst == NULL) || (inst->type != XML_ELEMENT_NODE))
1905 xsltNewStylePreComp(style, XSLT_FUNC_PARAM);
1907 comp = xsltNewStylePreComp(style, XSLT_FUNC_PARAM);
1918 xsltGetQNameProperty(style, inst, BAD_CAST "name",
1925 comp->select = xsltGetCNsProp(style, inst, (const xmlChar *)"select",
1928 comp->comp = xsltXPathCompile(style, comp->select);
1930 xsltTransformError(NULL, style, inst,
1933 style->errors++;
1936 xsltTransformError(NULL, style, inst,
1939 style->warnings++;
1952 * @style: an XSLT transformation context
1957 xsltFreeStylePreComps(xsltStylesheetPtr style) {
1960 if (style == NULL)
1963 cur = style->preComps;
1978 * @style: the XSLT stylesheet
1983 * set in style->compCtxt->inode->type;
1986 xsltStylePreCompute(xsltStylesheetPtr style, xmlNodePtr node) {
1991 if (style == NULL) {
2002 if (XSLT_CCTXT(style)->inode->type != 0) {
2003 switch (XSLT_CCTXT(style)->inode->type) {
2005 xsltApplyTemplatesComp(style, node);
2008 xsltWithParamComp(style, node);
2011 xsltValueOfComp(style, node);
2014 xsltCopyComp(style, node);
2017 xsltCopyOfComp(style, node);
2020 xsltIfComp(style, node);
2023 xsltChooseComp(style, node);
2026 xsltWhenComp(style, node);
2032 xsltForEachComp(style, node);
2035 xsltApplyImportsComp(style, node);
2038 xsltAttributeComp(style, node);
2041 xsltElementComp(style, node);
2044 xsltSortComp(style, node);
2047 xsltCommentComp(style, node);
2050 xsltNumberComp(style, node);
2053 xsltProcessingInstructionComp(style, node);
2056 xsltCallTemplateComp(style, node);
2059 xsltParamComp(style, node);
2062 xsltVariableComp(style, node);
2069 node->psvi = (void *) xsltDocumentComp(style, node,
2081 xsltTransformError(NULL, style, node,
2084 style->errors++;
2092 xsltApplyTemplatesComp(style, node);
2094 xsltWithParamComp(style, node);
2096 xsltValueOfComp(style, node);
2098 xsltCopyComp(style, node);
2100 xsltCopyOfComp(style, node);
2102 xsltIfComp(style, node);
2104 xsltChooseComp(style, node);
2106 xsltWhenComp(style, node);
2111 xsltForEachComp(style, node);
2113 xsltApplyImportsComp(style, node);
2115 xsltAttributeComp(style, node);
2117 xsltElementComp(style, node);
2119 xsltSortComp(style, node);
2121 xsltCommentComp(style, node);
2123 xsltNumberComp(style, node);
2125 xsltProcessingInstructionComp(style, node);
2127 xsltCallTemplateComp(style, node);
2129 xsltParamComp(style, node);
2131 xsltVariableComp(style, node);
2137 node->psvi = (void *) xsltDocumentComp(style, node,
2170 xsltTransformError(NULL, style, node,
2173 style->errors++;
2183 XSLT_CCTXT(style)->inode->inScopeNs;
2191 * @style: the XSLT stylesheet
2197 xsltStylePreCompute(xsltStylesheetPtr style, xmlNodePtr inst) {
2205 * using cctxt->style->inode->category;
2215 xsltCheckInstructionElement(style, inst);
2216 xsltApplyTemplatesComp(style, inst);
2218 xsltCheckParentElement(style, inst, BAD_CAST "apply-templates",
2220 xsltWithParamComp(style, inst);
2222 xsltCheckInstructionElement(style, inst);
2223 xsltValueOfComp(style, inst);
2225 xsltCheckInstructionElement(style, inst);
2226 xsltCopyComp(style, inst);
2228 xsltCheckInstructionElement(style, inst);
2229 xsltCopyOfComp(style, inst);
2231 xsltCheckInstructionElement(style, inst);
2232 xsltIfComp(style, inst);
2234 xsltCheckParentElement(style, inst, BAD_CAST "choose", NULL);
2235 xsltWhenComp(style, inst);
2237 xsltCheckInstructionElement(style, inst);
2238 xsltChooseComp(style, inst);
2240 xsltCheckInstructionElement(style, inst);
2241 xsltForEachComp(style, inst);
2243 xsltCheckInstructionElement(style, inst);
2244 xsltApplyImportsComp(style, inst);
2252 xsltCheckInstructionElement(style, inst);
2254 xsltAttributeComp(style, inst);
2256 xsltCheckInstructionElement(style, inst);
2257 xsltElementComp(style, inst);
2259 xsltCheckInstructionElement(style, inst);
2260 xsltTextComp(style, inst);
2262 xsltCheckParentElement(style, inst, BAD_CAST "apply-templates",
2264 xsltSortComp(style, inst);
2266 xsltCheckInstructionElement(style, inst);
2267 xsltCommentComp(style, inst);
2269 xsltCheckInstructionElement(style, inst);
2270 xsltNumberComp(style, inst);
2272 xsltCheckInstructionElement(style, inst);
2273 xsltProcessingInstructionComp(style, inst);
2275 xsltCheckInstructionElement(style, inst);
2276 xsltCallTemplateComp(style, inst);
2278 if (xsltCheckTopLevelElement(style, inst, 0) == 0)
2279 xsltCheckInstructionElement(style, inst);
2280 xsltParamComp(style, inst);
2282 if (xsltCheckTopLevelElement(style, inst, 0) == 0)
2283 xsltCheckInstructionElement(style, inst);
2284 xsltVariableComp(style, inst);
2286 xsltCheckParentElement(style, inst, BAD_CAST "choose", NULL);
2287 xsltCheckInstructionElement(style, inst);
2290 xsltCheckTopLevelElement(style, inst, 1);
2293 xsltCheckTopLevelElement(style, inst, 1);
2296 xsltCheckTopLevelElement(style, inst, 1);
2299 xsltCheckTopLevelElement(style, inst, 1);
2306 xsltTransformError(NULL, style, inst,
2309 style->errors++;
2313 xsltCheckTopLevelElement(style, inst, 1);
2316 xsltCheckInstructionElement(style, inst);
2319 xsltCheckTopLevelElement(style, inst, 1);
2322 xsltCheckTopLevelElement(style, inst, 1);
2325 xsltCheckTopLevelElement(style, inst, 1);
2328 xsltCheckTopLevelElement(style, inst, 1);
2331 xsltCheckTopLevelElement(style, inst, 1);
2334 xsltCheckInstructionElement(style, inst);
2337 xsltCheckInstructionElement(style, inst);
2338 inst->psvi = (void *) xsltDocumentComp(style, inst,
2341 xsltTransformError(NULL, style, inst,
2343 if (style != NULL) style->warnings++;
2363 (void *) xsltPreComputeExtModuleElement(style, inst);