namespaces

Name

namespaces -- 

Synopsis



void        xsltNamespaceAlias              (xsltStylesheetPtr style,
                                             xmlNodePtr node);
xmlNsPtr    xsltGetNamespace                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr cur,
                                             xmlNsPtr ns,
                                             xmlNodePtr out);
xmlNsPtr    xsltGetSpecialNamespace         (xsltTransformContextPtr ctxt,
                                             xmlNodePtr cur,
                                             const xmlChar *URI,
                                             const xmlChar *prefix,
                                             xmlNodePtr out);
xmlNsPtr    xsltCopyNamespace               (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNsPtr cur);
xmlNsPtr    xsltCopyNamespaceList           (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNsPtr cur);
void        xsltFreeNamespaceAliasHashes    (xsltStylesheetPtr style);

Description

Details

xsltNamespaceAlias ()

void        xsltNamespaceAlias              (xsltStylesheetPtr style,
                                             xmlNodePtr node);

Read the stylesheet-prefix and result-prefix attributes, register them as well as the corresponding namespace.


xsltGetNamespace ()

xmlNsPtr    xsltGetNamespace                (xsltTransformContextPtr ctxt,
                                             xmlNodePtr cur,
                                             xmlNsPtr ns,
                                             xmlNodePtr out);

Find the right namespace value for this prefix, if needed create and add a new namespace decalaration on the node Handle namespace aliases


xsltGetSpecialNamespace ()

xmlNsPtr    xsltGetSpecialNamespace         (xsltTransformContextPtr ctxt,
                                             xmlNodePtr cur,
                                             const xmlChar *URI,
                                             const xmlChar *prefix,
                                             xmlNodePtr out);

Find the right namespace value for this URI, if needed create and add a new namespace decalaration on the node


xsltCopyNamespace ()

xmlNsPtr    xsltCopyNamespace               (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNsPtr cur);

Do a copy of an namespace node. If node is non-NULL the new namespaces are added automatically. This handles namespaces aliases


xsltCopyNamespaceList ()

xmlNsPtr    xsltCopyNamespaceList           (xsltTransformContextPtr ctxt,
                                             xmlNodePtr node,
                                             xmlNsPtr cur);

Do a copy of an namespace list. If node is non-NULL the new namespaces are added automatically. This handles namespaces aliases


xsltFreeNamespaceAliasHashes ()

void        xsltFreeNamespaceAliasHashes    (xsltStylesheetPtr style);

Free up the memory used by namespaces aliases