2009-01-21 12:09:32 +00:00
|
|
|
/*
|
|
|
|
* Summary: interface for the XSLT namespace handling
|
|
|
|
* Description: set of function easing the processing and generation
|
|
|
|
* of namespace nodes in XSLT.
|
|
|
|
*
|
|
|
|
* Copy: See Copyright for the status of this software.
|
|
|
|
*
|
|
|
|
* Author: Daniel Veillard
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __XML_XSLT_NAMESPACES_H__
|
|
|
|
#define __XML_XSLT_NAMESPACES_H__
|
|
|
|
|
|
|
|
#include <libxml/tree.h>
|
|
|
|
#include "xsltexports.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Used within nsAliases hashtable when the default namespace is required
|
|
|
|
* but it's not been explicitly defined
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* UNDEFINED_DEFAULT_NS:
|
|
|
|
*
|
|
|
|
* Special value for undefined namespace, internal
|
|
|
|
*/
|
|
|
|
#define UNDEFINED_DEFAULT_NS (const xmlChar *) -1L
|
|
|
|
|
|
|
|
XSLTPUBFUN void XSLTCALL
|
|
|
|
xsltNamespaceAlias (xsltStylesheetPtr style,
|
|
|
|
xmlNodePtr node);
|
2013-02-09 11:40:29 +00:00
|
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
2009-01-21 12:09:32 +00:00
|
|
|
xsltGetNamespace (xsltTransformContextPtr ctxt,
|
|
|
|
xmlNodePtr cur,
|
|
|
|
xmlNsPtr ns,
|
|
|
|
xmlNodePtr out);
|
2013-02-09 11:40:29 +00:00
|
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
2009-01-21 12:09:32 +00:00
|
|
|
xsltGetPlainNamespace (xsltTransformContextPtr ctxt,
|
|
|
|
xmlNodePtr cur,
|
|
|
|
xmlNsPtr ns,
|
|
|
|
xmlNodePtr out);
|
2013-02-09 11:40:29 +00:00
|
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
2009-01-21 12:09:32 +00:00
|
|
|
xsltGetSpecialNamespace (xsltTransformContextPtr ctxt,
|
|
|
|
xmlNodePtr cur,
|
|
|
|
const xmlChar *URI,
|
|
|
|
const xmlChar *prefix,
|
|
|
|
xmlNodePtr out);
|
2013-02-09 11:40:29 +00:00
|
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
2009-01-21 12:09:32 +00:00
|
|
|
xsltCopyNamespace (xsltTransformContextPtr ctxt,
|
|
|
|
xmlNodePtr elem,
|
|
|
|
xmlNsPtr ns);
|
2013-02-09 11:40:29 +00:00
|
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
2009-01-21 12:09:32 +00:00
|
|
|
xsltCopyNamespaceList (xsltTransformContextPtr ctxt,
|
|
|
|
xmlNodePtr node,
|
|
|
|
xmlNsPtr cur);
|
2013-02-09 11:40:29 +00:00
|
|
|
XSLTPUBFUN void XSLTCALL
|
2009-01-21 12:09:32 +00:00
|
|
|
xsltFreeNamespaceAliasHashes
|
|
|
|
(xsltStylesheetPtr style);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __XML_XSLT_NAMESPACES_H__ */
|
|
|
|
|