Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/libxslt/libxslt/imports.h
#include <libxml/tree.h>
#include "xsltexports.h"
#include "xsltInternals.h"

Ir al código fuente de este archivo.

'defines'

#define XSLT_GET_IMPORT_PTR(res, style, name)
#define XSLT_GET_IMPORT_INT(res, style, name)

Funciones

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)

Documentación de los 'defines'

#define XSLT_GET_IMPORT_INT (   res,
  style,
  name 
)
Valor:
{                       \
    xsltStylesheetPtr st = style;                               \
    res = -1;                                                   \
    while (st != NULL) {                                        \
        if (st->name != -1) { 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_PTR (   res,
  style,
  name 
)
Valor:
{                       \
    xsltStylesheetPtr st = style;                               \
    res = NULL;                                                 \
    while (st != NULL) {                                        \
        if (st->name != NULL) { res = st->name; break; }        \
        st = xsltNextImport(st);                                \
    }}

XSLT_GET_IMPORT_PTR:

A macro to import pointers from the stylesheet cascading order.


Documentación de las funciones

XSLTPUBFUN int XSLTCALL xsltFindElemSpaceHandling ( xsltTransformContextPtr  ctxt,
xmlNodePtr  node 
)

xsltFindElemSpaceHandling: : an XSLT transformation context : an XML node

Find strip-space or preserve-space informations for an element respect the import precedence or the wildcards

Returns 1 if space should be stripped, 0 if not, and 2 if everything should be CDTATA wrapped.

XSLTPUBFUN xsltTemplatePtr XSLTCALL xsltFindTemplate ( xsltTransformContextPtr  ctxt,
const xmlChar name,
const xmlChar nameURI 
)
XSLTPUBFUN int XSLTCALL xsltNeedElemSpaceHandling ( xsltTransformContextPtr  ctxt)

xsltNeedElemSpaceHandling: : an XSLT transformation context

Checks whether that stylesheet requires white-space stripping

Returns 1 if space should be stripped, 0 if not

XSLTPUBFUN xsltStylesheetPtr XSLTCALL xsltNextImport ( xsltStylesheetPtr  cur)

xsltNextImport: : the current XSLT stylesheet

Find the next stylesheet in import precedence.

Returns the next stylesheet or NULL if it was the last one

XSLTPUBFUN int XSLTCALL xsltParseStylesheetImport ( xsltStylesheetPtr  style,
xmlNodePtr  cur 
)

xsltParseStylesheetImport: : the XSLT stylesheet : the import element

parse an XSLT stylesheet import element

Returns 0 in case of success -1 in case of failure.

XSLTPUBFUN int XSLTCALL xsltParseStylesheetInclude ( xsltStylesheetPtr  style,
xmlNodePtr  cur 
)

xsltParseStylesheetInclude: : the XSLT stylesheet : the include node

parse an XSLT stylesheet include element

Returns 0 in case of success -1 in case of failure

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'