Home | History | Annotate | Download | only in libxml2

Lines Matching refs:nameSpace

268     /* xml: prefix is not really a namespace */
706 * @node: the element carrying the namespace
708 * @prefix: the prefix for the namespace
710 * Creation of a new Namespace. This function will refuse to create
711 * a namespace with a similar prefix than an existing one present on this
713 * We use href==NULL in the case of an element creation where the namespace
715 * Returns a new namespace pointer or NULL
725 /* xml namespace is predefined, no need to add it */
731 * namespace, which breaks
732 * Namespace constraint: Reserved Prefixes and Namespace Names
733 * from XML namespace. But documents authors may not care in
739 * Allocate a new Namespace and fill the fields.
743 xmlTreeErrMemory("building namespace");
786 * @ns: a namespace pointer
788 * Associate a namespace to a node, a posteriori.
804 * @cur: the namespace pointer
806 * Free up the structures associated to a namespace
824 * @cur: the first namespace pointer
1911 * @ns: the namespace
1915 * Create a new property tagged with a namespace and carried by a node.
1936 * @ns: the namespace
1940 * Create a new property tagged with a namespace and carried by a node.
2062 * Note this doesn't work for namespace definition attributes
2171 * @ns: namespace if any
2212 * @ns: namespace if any
2256 * @ns: namespace if any
2293 * @ns: namespace if any
2331 * @ns: namespace if any
2422 * @ns: a namespace if any
2428 * created element inherits the namespace of @parent. If @content is non NULL,
2804 * @ns: a namespace if any
2810 * created element inherits the namespace of @parent. If @content is non NULL,
3877 * @cur: the namespace
3879 * Do a copy of the namespace.
3904 * @cur: the first namespace
3906 * Do a copy of an namespace list.
3955 * Humm, we are copying an element whose namespace is defined
3985 * we are in trouble: we need a new reconcilied namespace.
4076 * say RPM:Copyright without changing the namespace pointer to
4080 * the existing namespace. The actual solution seems to add
4081 * a copy of the namespace at the top of the copied tree if
4087 * namespace info, but don't recurse on children.
4194 * Humm, we are copying an element whose namespace is defined
4209 * reference the existing namespace definition in our own tree.
4596 * namespace, so use "*".
5746 * Search all the namespace applying to a given element.
5749 * namespace if defined
5769 xmlTreeErrMemory("getting namespace list");
5787 xmlTreeErrMemory("getting namespace list");
5808 * Ensures that there is an XML namespace declaration on the doc.
5824 "allocating the XML namespace");
5840 * @nameSpace: the namespace prefix
5843 * recurse on the parents until it finds the defined namespace
5845 * @nameSpace can be NULL, this is a search for the default namespace.
5847 * the namespace within those you will be in troubles !!! A warning
5850 * Returns the namespace pointer or NULL.
5853 xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace) {
5859 if ((nameSpace != NULL) &&
5860 (xmlStrEqual(nameSpace, (const xmlChar *)"xml"))) {
5863 * The XML-1.0 namespace is normally held on the root
5869 xmlTreeErrMemory("searching namespace");
5886 * Return the XML namespace declaration held by the doc.
5901 if ((cur->prefix == NULL) && (nameSpace == NULL) &&
5904 if ((cur->prefix != NULL) && (nameSpace != NULL) &&
5906 (xmlStrEqual(cur->prefix, nameSpace)))
5913 if ((cur->prefix == NULL) && (nameSpace == NULL) &&
5916 if ((cur->prefix != NULL) && (nameSpace != NULL) &&
5918 (xmlStrEqual(cur->prefix, nameSpace)))
5932 * @ancestor: the ancestor carrying the namespace
5933 * @prefix: the namespace prefix
5935 * Verify that the given namespace held on @ancestor is still in scope
5975 * @href: the namespace value
5978 * the defined namespace or return NULL otherwise.
5979 * Returns the namespace pointer or NULL.
5992 * Only the document can hold the XML spec namespace.
5996 * The XML-1.0 namespace is normally held on the root
6002 xmlTreeErrMemory("searching namespace");
6019 * Return the XML namespace declaration held by the doc.
6063 * @tree: a node expected to hold the new namespace
6064 * @ns: the original namespace
6066 * This function tries to locate a namespace definition in a tree
6067 * ancestors, or create a new namespace definition node similar to
6069 * null (default namespace) or reused within the subtree defined by
6071 * Returns the (new) namespace definition or NULL in case of error
6094 * Search an existing namespace definition inherited.
6102 * Let's strip namespace prefixes longer than 20 chars !
6136 * namespace declarations outside the subtree or invalid/masked. As much
6140 * Returns the number of namespace declarations created or -1 in case of error.
6159 * Reconciliate the node namespace
6189 * OK we need to recreate a new namespace definition
6220 * now check for namespace hold by attributes on the node.
6253 * OK we need to recreate a new namespace definition
6337 * We want the attr to be in no namespace.
6347 * We want the attr to be in the specified namespace.
6387 * The common and nice case: Attr in no namespace.
6527 * @nameSpace: the URI of the namespace
6530 * This attribute has to be anchored in the namespace specified.
6534 * Note that a namespace of NULL indicates to use the default namespace.
6540 xmlHasNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace) {
6542 return(xmlGetPropNodeInternal(node, name, nameSpace, xmlCheckDTD));
6556 * for namespace aware processing.
6581 * an attribute in no namespace.
6600 * @nameSpace: the URI of the namespace
6603 * This attribute has to be anchored in the namespace specified.
6612 xmlGetNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace) {
6615 prop = xmlGetPropNodeInternal(node, name, nameSpace, xmlCheckDTD);
6628 * This handles only attributes in no namespace.
6646 * @ns: the namespace definition
6674 * namespace-binding will be used, if in scope; it is an
6707 * @ns: the namespace definition
7700 xmlTreeErrMemory("allocating namespace map");
7720 xmlTreeErrMemory("allocating namespace map item");
7759 * @nsName: the namespace name
7763 * the given prefix and namespace name.
7837 * TODO: Store the namespace map in the context.
7874 * @map: the namespace map
8139 * @nsName: the searched namespace name
8240 * @prefix: the searched namespace prefix
8303 * @nsName: the namespace-name of the ns-decl
8307 * Declares a new namespace on @elem. It tries to use the
8409 * Handle XML namespace.
8413 * Insert XML namespace mapping.
8457 * No luck, the namespace is out of scope or shadowed.
8522 * Ensures that the tree is namespace wellformed by creating additional
8563 * Namespace declarations.
8785 * If @destParent is given, it ensures that the tree is namespace
8877 * Namespace declarations.
8927 /* No namespace, no fun. */
8954 * No matching namespace in scope. We need a new one.
9147 * If @destParent is given, it ensures that the tree is namespace
9213 * Reuse the namespace map of the context.
9335 * Namespace declarations.
9350 * Clone namespace declarations.
9360 "allocating namespace");
9494 * No matching namespace in scope. We need a new one.
9704 /* XML Namespace. */
9802 * If @destParent is given, it ensures that the tree is namespace