class libfwbuilder::XMLTools


Public Fields

[more]static xmlExternalEntityLoader defaultLoader

Public Methods

[more]static xmlNodePtr getXmlNodeByPath(xmlNodePtr r, const char* path )
[more]static xmlNodePtr getXmlNodeByPath(xmlNodePtr r, const string &path )
[more]static xmlNodePtr getXmlChildNode(xmlNodePtr r, const char* child_name )
[more]static void initXMLTools()
[more]static xmlDocPtr loadFile(const string &file_name, const string &type_name, const string &dtd_file, const UpgradePredicate* upgrade, const string &template_dir = string(LIBFWBUILDER_TEMPLATE_DIR), const string &current_version = string(LIBFWBUILDER_FORMAT_VERSION) ) throw(FWException)
Loads given file, performing version conversion if neccessary
[more]static void setDTD(xmlDocPtr doc, const string &type_name, const string &dtd_file) throw(FWException)
[more]static void saveFile(xmlDocPtr doc, const string &file_name, const string &type_name, const string &dtd_file) throw(FWException)
Saves file with setting DTD
[more]static xmlDocPtr parseFile(const string &file_name, bool use_dtd, const string &template_dir ) throw(FWException)
Loads given file, without version conversion.
[more]static xmlDocPtr transformDocument(xmlDocPtr doc, const string &stylesheet_file, const char** params ) throw(FWException)
Performs XSLT transformation of the file in memory
[more]static void transformDocumentToFile(xmlDocPtr doc, const string &stylesheet_file, const char** params, const string &dst_file ) throw(FWException)
Performs XSLT transformation of the file.

Public Members

class UpgradePredicate


Documentation

ostatic xmlNodePtr getXmlNodeByPath(xmlNodePtr r, const char* path )

ostatic xmlNodePtr getXmlNodeByPath(xmlNodePtr r, const string &path )

ostatic xmlNodePtr getXmlChildNode(xmlNodePtr r, const char* child_name )

ostatic void initXMLTools()

ostatic xmlDocPtr loadFile(const string &file_name, const string &type_name, const string &dtd_file, const UpgradePredicate* upgrade, const string &template_dir = string(LIBFWBUILDER_TEMPLATE_DIR), const string &current_version = string(LIBFWBUILDER_FORMAT_VERSION) ) throw(FWException)
Loads given file, performing version conversion if neccessary

ostatic void setDTD(xmlDocPtr doc, const string &type_name, const string &dtd_file) throw(FWException)

ostatic void saveFile(xmlDocPtr doc, const string &file_name, const string &type_name, const string &dtd_file) throw(FWException)
Saves file with setting DTD

ostatic xmlExternalEntityLoader defaultLoader

ostatic xmlDocPtr parseFile(const string &file_name, bool use_dtd, const string &template_dir ) throw(FWException)
Loads given file, without version conversion.
Returns:
document pointer

ostatic xmlDocPtr transformDocument(xmlDocPtr doc, const string &stylesheet_file, const char** params ) throw(FWException)
Performs XSLT transformation of the file in memory
Returns:
new document

ostatic void transformDocumentToFile(xmlDocPtr doc, const string &stylesheet_file, const char** params, const string &dst_file ) throw(FWException)
Performs XSLT transformation of the file. Results are stored in dst file.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.