Sha256: d7c9088e81aa7455d1eb709edd9b73c6c4e2615dd718aa5c8586a43143c3b942

Contents?: true

Size: 1.8 KB

Versions: 414

Compression:

Stored size: 1.8 KB

Contents

/*
 * Summary: interface for the XSLT import support
 * Description: macros and fuctions needed to implement and
 *              access the import tree
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Daniel Veillard
 */

#ifndef __XML_XSLT_IMPORTS_H__
#define __XML_XSLT_IMPORTS_H__

#include <libxml/tree.h>
#include "xsltexports.h"
#include "xsltInternals.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * XSLT_GET_IMPORT_PTR:
 *
 * A macro to import pointers from the stylesheet cascading order.
 */
#define XSLT_GET_IMPORT_PTR(res, style, name) {			\
    xsltStylesheetPtr st = style;				\
    res = NULL;							\
    while (st != NULL) {					\
	if (st->name != NULL) { res = st->name; break; }	\
	st = xsltNextImport(st);				\
    }}

/**
 * XSLT_GET_IMPORT_INT:
 *
 * A macro to import intergers from the stylesheet cascading order.
 */
#define XSLT_GET_IMPORT_INT(res, style, name) {			\
    xsltStylesheetPtr st = style;				\
    res = -1;							\
    while (st != NULL) {					\
	if (st->name != -1) { res = st->name; break; }	\
	st = xsltNextImport(st);				\
    }}

/*
 * Module interfaces
 */
XSLTPUBFUN int XSLTCALL
			xsltParseStylesheetImport(xsltStylesheetPtr style,
						  xmlNodePtr cur);
XSLTPUBFUN int XSLTCALL
			xsltParseStylesheetInclude
						 (xsltStylesheetPtr style,
						  xmlNodePtr cur);
XSLTPUBFUN xsltStylesheetPtr XSLTCALL
			xsltNextImport		 (xsltStylesheetPtr style);
XSLTPUBFUN int XSLTCALL
			xsltNeedElemSpaceHandling(xsltTransformContextPtr ctxt);
XSLTPUBFUN int XSLTCALL
			xsltFindElemSpaceHandling(xsltTransformContextPtr ctxt,
						  xmlNodePtr node);
XSLTPUBFUN xsltTemplatePtr XSLTCALL
			xsltFindTemplate	 (xsltTransformContextPtr ctxt,
						  const xmlChar *name,
						  const xmlChar *nameURI);

#ifdef __cplusplus
}
#endif

#endif /* __XML_XSLT_IMPORTS_H__ */

Version data entries

414 entries across 405 versions & 11 rubygems

Version Path
nokogiri-1.16.7-x86_64-linux ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-x86_64-darwin ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-x86-mingw32 ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-x86-linux ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-x64-mingw32 ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-x64-mingw-ucrt ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-arm64-darwin ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-arm-linux ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.7-aarch64-linux ext/nokogiri/include/libxslt/imports.h
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/nokogiri-1.16.6-arm64-darwin/ext/nokogiri/include/libxslt/imports.h
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.5-x86_64-linux/ext/nokogiri/include/libxslt/imports.h
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.5-x86_64-linux/ext/nokogiri/include/libxslt/imports.h
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.5-x86_64-linux/ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-x86_64-linux ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-x86_64-darwin ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-x86-mingw32 ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-x86-linux ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-x64-mingw32 ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-x64-mingw-ucrt ext/nokogiri/include/libxslt/imports.h
nokogiri-1.16.6-arm64-darwin ext/nokogiri/include/libxslt/imports.h