ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

xsltutils.c File Reference
#include "libxslt.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/HTMLtree.h>
#include <libxml/xmlerror.h>
#include <libxml/xmlIO.h>
#include "xsltutils.h"
#include "templates.h"
#include "xsltInternals.h"
#include "imports.h"
#include "transform.h"

Go to the source code of this file.

Data Structures

struct  xsltDebuggerCallbacks

Defines

#define IN_LIBXSLT

Functions

: the full QName

xsltSplitQName: : a dictionary

: the return value

Split QNames into prefix and local names, both allocated from a dictionary.

Returns: the localname or NULL in case of error.

const xmlCharxsltSplitQName (xmlDictPtr dict, const xmlChar *name, const xmlChar **prefix)

: the attribute name

xsltGetNsProp: : the node

: the URI of the namespace

Similar to xmlGetNsProp() but with a slightly different semantic

Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified, or has no namespace and the element is in that namespace.

This does the entity substitution. This function looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.

Returns the attribute value or NULL if not found. It's up to the caller to free the memory.

#define XSLT_GET_VAR_STR(msg, str)
xmlGenericErrorFunc xsltGenericError = xsltGenericErrorDefaultFunc
voidxsltGenericErrorContext = NULL
xmlGenericErrorFunc xsltGenericDebug = xsltGenericDebugDefaultFunc
voidxsltGenericDebugContext = NULL
const xmlCharxsltGetCNsProp (xsltStylesheetPtr style, xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace)
xmlCharxsltGetNsProp (xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace)
int xsltGetUTF8Char (const unsigned char *utf, int *len)
void xsltMessage (xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst)
static void xsltGenericErrorDefaultFunc (void *ctx ATTRIBUTE_UNUSED, const char *msg,...)
void xsltSetGenericErrorFunc (void *ctx, xmlGenericErrorFunc handler)
static void xsltGenericDebugDefaultFunc (void *ctx ATTRIBUTE_UNUSED, const char *msg,...)
void xsltSetGenericDebugFunc (void *ctx, xmlGenericErrorFunc handler)
void xsltPrintErrorContext (xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node)
void xsltSetTransformErrorFunc (xsltTransformContextPtr ctxt, void *ctx, xmlGenericErrorFunc handler)
void xsltTransformError (xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, const char *msg,...)

is

not prefixed.

#define MAX_TEMPLATES   10000
#define XSLT_CALLBACK_NUMBER   3
typedef xsltDebuggerCallbacks * xsltDebuggerCallbacksPtr
static xsltSortFunc xsltSortFunction = xsltDefaultSortFunction
static long calibration = -1
static xsltDebuggerCallbacks xsltDebuggerCurrentCallbacks
int xslDebugStatus
const xmlCharxsltGetQNameURI (xmlNodePtr node, xmlChar **name)
const xmlCharxsltGetQNameURI2 (xsltStylesheetPtr style, xmlNodePtr node, const xmlChar **name)
void xsltDocumentSortFunction (xmlNodeSetPtr list)
xmlXPathObjectPtr * xsltComputeSortResult (xsltTransformContextPtr ctxt, xmlNodePtr sort)
void xsltDefaultSortFunction (xsltTransformContextPtr ctxt, xmlNodePtr *sorts, int nbsorts)
void xsltDoSortFunction (xsltTransformContextPtr ctxt, xmlNodePtr *sorts, int nbsorts)
void xsltSetSortFunc (xsltSortFunc handler)
void xsltSetCtxtSortFunc (xsltTransformContextPtr ctxt, xsltSortFunc handler)
int xsltSetCtxtParseOptions (xsltTransformContextPtr ctxt, int options)
int xsltSaveResultTo (xmlOutputBufferPtr buf, xmlDocPtr result, xsltStylesheetPtr style)
int xsltSaveResultToFilename (const char *URL, xmlDocPtr result, xsltStylesheetPtr style, int compression)
int xsltSaveResultToFile (FILE *file, xmlDocPtr result, xsltStylesheetPtr style)
int xsltSaveResultToFd (int fd, xmlDocPtr result, xsltStylesheetPtr style)
int xsltSaveResultToString (xmlChar **doc_txt_ptr, int *doc_txt_len, xmlDocPtr result, xsltStylesheetPtr style)
static long xsltCalibrateTimestamps (void)
void xsltCalibrateAdjust (long delta)
long xsltTimestamp (void)
void xsltSaveProfiling (xsltTransformContextPtr ctxt, FILE *output)
xmlDocPtr xsltGetProfileInformation (xsltTransformContextPtr ctxt)
xmlXPathCompExprPtr xsltXPathCompile (xsltStylesheetPtr style, const xmlChar *str)
void xsltSetDebuggerStatus (int value)
int xsltGetDebuggerStatus (void)
int xsltSetDebuggerCallbacks (int no, void *block)
void xslHandleDebugger (xmlNodePtr cur, xmlNodePtr node, xsltTemplatePtr templ, xsltTransformContextPtr ctxt)
int xslAddCall (xsltTemplatePtr templ, xmlNodePtr source)
void xslDropCall (void)

Detailed Description

Returns the number of bytes written or -1 in case of failure.

Definition in file xsltutils.c.


Generated on Sun May 27 2012 04:50:20 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.