xsltParseStyleSheet: Read XSLT stylesheet into memory

Description Usage Arguments Value Author(s) References See Also

View source: R/Sxslt.S

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 <[email protected]>

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 26, 2017, 3:49 a.m.