• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching +defs:base +defs:name

244  * @name: the name
246 * Do debugging on the name, for example the dictionnary status and
250 xmlCtxtCheckName(xmlDebugCtxtPtr ctxt, const xmlChar * name)
253 if (name == NULL) {
257 if (xmlValidateName(name, 0)) {
259 "Name is not an NCName '%s'", (const char *) name);
262 (!xmlDictOwns(ctxt->dict, name)) &&
267 (const char *) name);
305 (!xmlStrEqual(node->name, BAD_CAST "pseudoroot")))
365 xmlCtxtCheckName(ctxt, node->name);
368 if ((node->name == xmlStringText) ||
369 (node->name == xmlStringTextNoenc))
373 (node->name == xmlDictLookup(ctxt->dict, BAD_CAST "nbktext",
378 "Text node has wrong name '%s'",
379 (const char *) node->name);
382 if (node->name == xmlStringComment)
385 "Comment node has wrong name '%s'",
386 (const char *) node->name);
389 xmlCtxtCheckName(ctxt, node->name);
392 if (node->name == NULL)
395 "CData section has non NULL name '%s'",
396 (const char *) node->name);
461 if (dtd->name != NULL)
462 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name);
492 if (attr->name != NULL) {
494 fprintf(ctxt->output, "ATTRDECL(%s)", (char *) attr->name);
497 "Node attribute declaration has no name");
503 "Node attribute declaration has no element name");
543 fprintf(ctxt->output, "|%s", (char *) cur->name);
545 fprintf(ctxt->output, " (%s", (char *) cur->name);
597 if (elem->name != NULL) {
600 xmlCtxtDumpString(ctxt, elem->name);
605 "Element declaration has no name");
656 if (ent->name != NULL) {
659 xmlCtxtDumpString(ctxt, ent->name);
664 "Entity declaration has no name");
790 fprintf(ctxt->output, "%s\n", ent->name);
833 xmlCtxtDumpString(ctxt, attr->name);
841 if (attr->name == NULL)
843 "Attribute has no name");
897 xmlCtxtDumpString(ctxt, node->name);
910 if (node->name == (const xmlChar *) xmlStringTextNoenc)
935 (char *) node->name);
947 fprintf(ctxt->output, "PI %s\n", (char *) node->name);
1039 ent = xmlGetDocEntity(node->doc, node->name);
1177 if (doc->name != NULL) {
1178 fprintf(ctxt->output, "name=");
1179 xmlCtxtDumpString(ctxt, BAD_CAST doc->name);
1238 fprintf(ctxt->output, "%s : ", (char *) cur->name);
1656 * Dump to @output the type and name of @node.
1726 if (node->name != NULL) {
1729 fprintf(output, "%s", (const char *) node->name);
1733 if (node->name != NULL)
1734 fprintf(output, "%s", (const char *) node->name);
1744 if (node->name != NULL)
1745 fprintf(output, "%s", (const char *) node->name);
1748 if (node->name != NULL)
1749 fprintf(output, "%s", (const char *) node->name);
1752 if (node->name != NULL)
1753 fprintf(output, "%s", (const char *) node->name);
1778 if (node->name != NULL)
1779 fprintf(output, "%s", (const char *) node->name);
2039 * Implements the XML shell function "base"
2040 * dumps the current XML base of the node
2049 xmlChar *base;
2057 base = xmlNodeGetBase(node->doc, node);
2059 if (base == NULL) {
2060 fprintf(ctxt->output, " No base found !!!\n");
2062 fprintf(ctxt->output, "%s\n", base);
2063 xmlFree(base);
2072 * @arg: the new base
2077 * change the current XML base of the node
2444 * @filename: the file name
2499 * @filename: the file name
2567 * @filename: the file name (optional)
2572 * Write the current document to the filename, or it's original name
2703 fprintf(ctxt->output, "%s\n", node->name);
2844 else if ((ctxt->node != NULL) && (ctxt->node->name) &&
2847 (ctxt->node->ns->prefix), ctxt->node->name);
2848 else if ((ctxt->node != NULL) && (ctxt->node->name))
2849 snprintf(prompt, sizeof(prompt), "%s > ", ctxt->node->name);
2901 fprintf(ctxt->output, "\tbase display XML base of the node\n");
2902 fprintf(ctxt->output, "\tsetbase URI change the XML base of the node\n");
2911 fprintf(ctxt->output, "\tload [name] load a new document with name\n");
2925 fprintf(ctxt->output, "\tsave [name] save this document to name or the original name\n");
2926 fprintf(ctxt->output, "\twrite [name] write the current node to the filename\n");
3045 } else if (!strcmp(command, "base")) {