Lines Matching refs:nodes
288 xmlHashTablePtr triage; /* hash table used to direct nodes to the
3339 ctxt, xmlNodePtr nodes,
3346 xmlNodePtr nodes);
3352 ctxt, xmlNodePtr nodes);
4302 * - trying to get a total order on the element nodes generated
5506 * @nodes: list of nodes
5514 xmlRelaxNGParsePatterns(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr nodes,
5520 while (nodes != NULL) {
5521 if (IS_RELAXNG(nodes, "element")) {
5522 cur = xmlRelaxNGParseElement(ctxt, nodes);
5528 def = xmlRelaxNGNewDefine(ctxt, nodes);
5537 cur = xmlRelaxNGParsePattern(ctxt, nodes);
5547 nodes = nodes->next;
5555 * @nodes: start children nodes
5562 xmlRelaxNGParseStart(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr nodes)
5567 if (nodes == NULL) {
5568 xmlRngPErr(ctxt, nodes, XML_RNGP_START_EMPTY, "start has no children\n",
5572 if (IS_RELAXNG(nodes, "empty")) {
5573 def = xmlRelaxNGNewDefine(ctxt, nodes);
5577 if (nodes->children != NULL) {
5578 xmlRngPErr(ctxt, nodes, XML_RNGP_EMPTY_CONTENT,
5581 } else if (IS_RELAXNG(nodes, "notAllowed")) {
5582 def = xmlRelaxNGNewDefine(ctxt, nodes);
5586 if (nodes->children != NULL) {
5587 xmlRngPErr(ctxt, nodes, XML_RNGP_NOTALLOWED_NOT_EMPTY,
5591 def = xmlRelaxNGParsePatterns(ctxt, nodes, 1);
5601 nodes = nodes->next;
5602 if (nodes != NULL) {
5603 xmlRngPErr(ctxt, nodes, XML_RNGP_START_CONTENT,
5613 * @nodes: grammar children nodes
5621 xmlNodePtr nodes)
5625 if (nodes == NULL) {
5626 xmlRngPErr(ctxt, nodes, XML_RNGP_GRAMMAR_EMPTY,
5630 while (nodes != NULL) {
5631 if (IS_RELAXNG(nodes, "start")) {
5632 if (nodes->children == NULL) {
5633 xmlRngPErr(ctxt, nodes, XML_RNGP_START_EMPTY,
5636 tmp = xmlRelaxNGParseStart(ctxt, nodes->children);
5640 } else if (IS_RELAXNG(nodes, "define")) {
5641 tmp = xmlRelaxNGParseDefine(ctxt, nodes);
5644 } else if (IS_RELAXNG(nodes, "include")) {
5645 tmp = xmlRelaxNGParseInclude(ctxt, nodes);
5649 xmlRngPErr(ctxt, nodes, XML_RNGP_GRAMMAR_CONTENT,
5650 "grammar has unexpected child %s\n", nodes->name,
5654 nodes = nodes->next;
5943 * @nodes: grammar children nodes
6016 * @nodes: grammar children nodes
6558 * @nodes: grammar children nodes
6566 xmlRelaxNGParseGrammar(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr nodes)
6595 xmlRelaxNGParseGrammarContent(ctxt, nodes);
6598 xmlRngPErr(ctxt, nodes, XML_RNGP_GRAMMAR_CONTENT,
6601 xmlRngPErr(ctxt, nodes, XML_RNGP_GRAMMAR_NO_START,
6992 * Cleanup the subtree from unwanted nodes for parsing, resolve
7432 * Cleanup the document from unwanted nodes for parsing, resolve
8496 * Skip ignorable nodes in that context
10247 * Collect all the new nodes added at that step
10499 * Make sure it's only text nodes
10796 * This stamps all the element nodes with the document order