/home/gigerk/eth/sa2/libxpsh-0.0.1/libxpsh/xpsh_dump.c File Reference

#include "xpsh_dump.h"

Functions

int dumpToFile (node_xpsh *context_node, const char *filename, int withContent, int withMeta)
 dumps the FSX-tree into an XML file
void dumpNode (node_xpsh *node, FILE *dumpfile, int withContent, int withMeta)
 dumps the contents of a node into the file
void dumpName (node_xpsh *node, FILE *dumpfile)
 print the name of the element including namespace-prefixes
void dumpAttributes (node_xpsh *node, FILE *dumpfile)
 dump the attributes of an element
void dumpNSDeclarations (node_xpsh *node, FILE *dumpfile)
 dumps the namespace declarations (xmlns=...)
void dumpText (node_xpsh *node, FILE *dumpfile)
 dumps the content of a text-node

Detailed Description

Author:
Kaspar Giger
Date:
04-2006

Function Documentation

void dumpAttributes node_xpsh node,
FILE *  dumpfile
 

Parameters:
node the node
dumpfile a file-pointer of the opened output file

void dumpName node_xpsh node,
FILE *  dumpfile
 

Parameters:
node the node
dumpfile a file-pointer of the opened output file

void dumpNode node_xpsh node,
FILE *  dumpfile,
int  withContent,
int  withMeta
 

Parameters:
node the node
dumpfile a file-pointer of the opened output file
withContent if false no content is dumped
withMeta if false no content is dumped

void dumpNSDeclarations node_xpsh node,
FILE *  dumpfile
 

Parameters:
node the node
dumpfile a file-pointer of the opened output file

void dumpText node_xpsh node,
FILE *  dumpfile
 

Parameters:
node the node
dumpfile a file-pointer of the opened output file

int dumpToFile node_xpsh context_node,
const char *  filename,
int  withContent,
int  withMeta
 

the tree is created descending from the context_node node

Parameters:
context_node the node to descend from (will be the root node in the file)
filename the filename where the FSX-tree is saved
withContent if false no content is dumped
withMeta if false no meta-information is dumped
Returns:
0 if successful


Generated on Mon Apr 17 18:39:46 2006 for Libxpsh by  doxygen 1.4.6