xsltParseStyleSheet: Read XSLT stylesheet into memory

View source: R/Sxslt.S

xsltParseStyleSheetR Documentation

Read XSLT stylesheet into memory

Description

This uses Daniel Veillard's libxslt to read an XSLT stylesheet into memory and returns an opaque reference to the native (C-level) data structure. This can be used to transform one or more XML documents.

Usage

xsltParseStyleSheet(fileName,
                    isURL =  is(fileName, "character") && length(grep("^(http|ftp)", fileName)) > 0)

Arguments

fileName

the name of the file or URI to read that is expected to contain an XSLT style file and its rules. Alternatively, this can be the raw text of the XSLT stylesheet.

isURL

a logical value indicating whether the fileName refers to a URI.

Value

An external pointer reference to the C-level data structure representing the XSLT rules, etc.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.omegahat.org/Sxslt, http://www.omegahat.org/SXalan, http://www.w3.org/Style/XSL http://xmlsoft.org/XSLT htt

See Also

saveXML xsltApplyStyleSheet


omegahat/Sxslt documentation built on Jan. 17, 2024, 6:44 p.m.