Description Usage Arguments Value Author(s) References Examples
This is a heuristic function that attempts to find
XSL templates that correspond to macro or text substitution
operations. The idea is that we use XML elements such
as <js>
or <R>
in our XML documents and then have
these mapped to literals in HTML or LaTeX.
1 | findXSLMacros(doc)
|
doc |
this can be either the name of an XML document, a directory or a parsed XML document. If this is a directory, we process all the files that end in "xsl" in that directory. |
A list of the templates that appear to correspond to literal text expansion.
Duncan Temple Lang
XSL
1 2 3 4 5 6 7 | f = system.file("XSL", "OmegahatXSL", "latex", package = "XDynDocs")
if(f != "") {
o = findXSLMacros(f)
o
names(o)
table(sapply(o, XML::docName))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.