mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
68 lines
1.6 KiB
C
68 lines
1.6 KiB
C
/*
|
|
* 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);
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
|
xsltGetNamespace (xsltTransformContextPtr ctxt,
|
|
xmlNodePtr cur,
|
|
xmlNsPtr ns,
|
|
xmlNodePtr out);
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
|
xsltGetPlainNamespace (xsltTransformContextPtr ctxt,
|
|
xmlNodePtr cur,
|
|
xmlNsPtr ns,
|
|
xmlNodePtr out);
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
|
xsltGetSpecialNamespace (xsltTransformContextPtr ctxt,
|
|
xmlNodePtr cur,
|
|
const xmlChar *URI,
|
|
const xmlChar *prefix,
|
|
xmlNodePtr out);
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
|
xsltCopyNamespace (xsltTransformContextPtr ctxt,
|
|
xmlNodePtr elem,
|
|
xmlNsPtr ns);
|
|
XSLTPUBFUN xmlNsPtr XSLTCALL
|
|
xsltCopyNamespaceList (xsltTransformContextPtr ctxt,
|
|
xmlNodePtr node,
|
|
xmlNsPtr cur);
|
|
XSLTPUBFUN void XSLTCALL
|
|
xsltFreeNamespaceAliasHashes
|
|
(xsltStylesheetPtr style);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __XML_XSLT_NAMESPACES_H__ */
|
|
|