Functions

xsltparser.h File Reference

Generic XSLT parser for eurephiadm. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xslt_print_xmldoc (FILE *dst, eurephiaVALUES *cfg, xmlDoc *xmldoc, const char *xsltfname, const char **xsltparams)

Detailed Description

Generic XSLT parser for eurephiadm.

Author:
David Sommerseth <dazo@users.sourceforge.net>
Date:
2009-03-29

Definition in file xsltparser.h.


Function Documentation

int xslt_print_xmldoc ( FILE *  dst,
eurephiaVALUES cfg,
xmlDoc *  xmldoc,
const char *  xsltfname,
const char **  xsltparams 
)

Parses an XML document and a given XSLT file and returns the result as text to a FILE pointer.

Parameters:
dst FILE pointer where the result will be returned
cfg eurephiaVALUES with the eurephiadm configuration. Used for locating the correct path to the XSLT templates
xmldoc xmlDoc pointer to the input XML document.
xsltfname File name of the XSLT template to use for the parsing.
xsltparams Parameters to the XSLT template.
Returns:
Returns 1 on success, otherwise 0.

Definition at line 59 of file xsltparser.c.

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines