|
Eneboo - Documentación para desarrolladores
|
#include "libxslt.h"#include <string.h>#include <libxml/xmlmemory.h>#include <libxml/tree.h>#include <libxml/xpath.h>#include <libxml/xpathInternals.h>#include "xslt.h"#include "xsltutils.h"#include "xsltInternals.h"#include "templates.h"Clases | |
| struct | _xsltAttrVT |
'defines' | |
| #define | IN_LIBXSLT |
| #define | MAX_AVT_SEG 10 |
'typedefs' | |
| typedef struct _xsltAttrVT | xsltAttrVT |
| typedef xsltAttrVT * | xsltAttrVTPtr |
Funciones | |
| void | xsltFreeAVTList (void *avt) |
| void | xsltCompileAttr (xsltStylesheetPtr style, xmlAttrPtr attr) |
| xmlChar * | xsltEvalAVT (xsltTransformContextPtr ctxt, void *avt, xmlNodePtr node) |
| #define IN_LIBXSLT |
| #define MAX_AVT_SEG 10 |
| typedef struct _xsltAttrVT xsltAttrVT |
| typedef xsltAttrVT* xsltAttrVTPtr |
| void xsltCompileAttr | ( | xsltStylesheetPtr | style, |
| xmlAttrPtr | attr | ||
| ) |
xsltCompileAttr: : a XSLT process context : the attribute coming from the stylesheet.
Precompile an attribute in a stylesheet, basically it checks if it is an attrubute value template, and if yes establish some structures needed to process it at transformation time.
| xmlChar* xsltEvalAVT | ( | xsltTransformContextPtr | ctxt, |
| void * | avt, | ||
| xmlNodePtr | node | ||
| ) |
xsltEvalAVT: : the XSLT transformation context : the prevompiled attribute value template info : the node hosting the attribute
Process the given AVT, and return the new string value.
Returns the computed string value or NULL, must be deallocated by the caller.
| void xsltFreeAVTList | ( | void * | avt | ) |
xsltFreeAVTList: : pointer to an list of AVT structures
Free up the memory associated to the attribute value templates
1.7.4