Skip to contents

This function applies an XSLT transformation to an XML file and saves the output as an HTML file.

Usage

convert_xml_html(root, xml_filename, xsl_filename, output_filename)

Arguments

root

A character string specifying the root directory where the XML and XSL files are located.

xml_filename

A character string specifying the name of the XML file.

xsl_filename

A character string specifying the name of the XSL file.

output_filename

A character string specifying the name of the output HTML file.

Value

This function does not return a value but saves the transformed HTML file to the specified output path.

Examples

if (FALSE) { # \dontrun{
convert_xml_html("/path/to/files", "input.xml", "stylesheet.xsl", "output.html")
} # }