| Gnome XSLT Library Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
void xsltNamespaceAlias (xsltStylesheetPtr style, |
void xsltNamespaceAlias (xsltStylesheetPtr style, |
Read the stylesheet-prefix and result-prefix attributes, register them as well as the corresponding namespace.
| style: | the XSLT stylesheet |
| node: | the xsl:namespace-alias node |
|
Find the right namespace value for this prefix, if needed create and add a new namespace decalaration on the node Handle namespace aliases
| ctxt: | a transformation context |
| cur: | the input node |
| ns: | the namespace |
| out: | the output node (or its parent) |
| Returns : | the namespace node to use or NULL |
|
| ctxt: | |
| cur: | |
| URI: | |
| prefix: | |
| out: | |
| Returns : |
|
Do a copy of an namespace list. If node is non-NULL the new namespaces are added automatically. This handles namespaces aliases
| ctxt: | a transformation context |
| node: | the target node |
| cur: | the first namespace |
| Returns : | a new xmlNsPtr, or NULL in case of error. |
void xsltFreeNamespaceAliasHashes (xsltStylesheetPtr style); |
Free up the memory used by namespaces aliases
| style: | an XSLT stylesheet |