xsltParseStyleSheet: Read XSLT stylesheet into memory

Description Usage Arguments Value Author(s) References See Also

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

1
2
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


sckott/sxslt documentation built on May 29, 2019, 4:06 p.m.