Lines Matching refs:default_ns

53 Document *sp_repr_do_read (xmlDocPtr doc, const gchar *default_ns);
54 static Node *sp_repr_svg_read_node (Document *xml_doc, xmlNodePtr node, const gchar *default_ns, std::map<std::string, std::string> &prefix_map);
55 static gint sp_repr_qualified_name (gchar *p, gint len, xmlNsPtr ns, const xmlChar *name, const gchar *default_ns, std::map<std::string, std::string> &prefix_map);
57 bool add_whitespace, gchar const *default_ns,
329 Document *sp_repr_read_file (const gchar * filename, const gchar *default_ns)
371 rdoc = sp_repr_do_read( doc, default_ns );
378 rdoc = sp_repr_do_read( doc, default_ns );
398 Document *sp_repr_read_mem (const gchar * buffer, gint length, const gchar *default_ns)
409 rdoc = sp_repr_do_read (doc, default_ns);
419 Document *sp_repr_read_buf (const Glib::ustring &buf, const gchar *default_ns)
421 return sp_repr_read_mem(buf.c_str(), buf.size(), default_ns);
480 Document *sp_repr_do_read (xmlDocPtr doc, const gchar *default_ns)
497 Node *repr=sp_repr_svg_read_node(rdoc, node, default_ns, prefix_map);
508 Node *repr=sp_repr_svg_read_node(rdoc, node, default_ns, prefix_map);
517 if ( default_ns && !strchr(root->name(), ':') ) {
518 if ( !strcmp(default_ns, SP_SVG_NS_URI) ) {
521 if ( !strcmp(default_ns, INKSCAPE_EXTENSION_URI) ) {
542 gint sp_repr_qualified_name (gchar *p, gint len, xmlNsPtr ns, const xmlChar *name, const gchar */*default_ns*/, std::map<std::string, std::string> &prefix_map)
566 static Node *sp_repr_svg_read_node (Document *xml_doc, xmlNodePtr node, const gchar *default_ns, std::map<std::string, std::string> &prefix_map)
606 sp_repr_qualified_name (c, 256, node->ns, node->name, default_ns, prefix_map);
612 sp_repr_qualified_name (c, 256, prop->ns, prop->name, default_ns, prefix_map);
623 Node *crepr = sp_repr_svg_read_node (xml_doc, child, default_ns, prefix_map);
635 gchar const *default_ns,
656 sp_repr_write_stream_root_element(repr, *out, TRUE, default_ns, inlineattrs, indent,
683 void sp_repr_save_stream(Document *doc, FILE *fp, gchar const *default_ns, bool compress,
692 sp_repr_save_writer(doc, out, default_ns, old_href_abs_base, new_href_abs_base);
708 bool sp_repr_save_rebased_file(Document *doc, gchar const *const filename, gchar const *default_ns,
744 sp_repr_save_stream(doc, file, default_ns, compress, old_href_abs_base.c_str(), new_href_abs_base.c_str());
756 bool sp_repr_save_file(Document *doc, gchar const *const filename, gchar const *default_ns)
758 return sp_repr_save_rebased_file(doc, filename, default_ns, NULL, NULL);
871 bool add_whitespace, gchar const *default_ns,
891 if ( default_ns && ns_map.find(GQuark(0)) == ns_map.end() ) {
892 elide_prefix = g_quark_from_string(sp_xml_ns_uri_prefix(default_ns, NULL));