XSLTemplateDescription-class: Description of an XSL template

XSLTemplateDescription-classR Documentation

Description of an XSL template

Description

This is a class that provides an R-level description (i.e. not an external pointer) of an XSL template. For the present, it is an S3-style class and instances are created in C code.

It has 6 fields:

  • stylea reference to the parsed XSL style sheet in which the template is defined

  • matchthe value of the match attribute which could be the empty character vector if the template is a named template with no match attribute.

  • namethe value of the name attribute which might be the empty character vector.

  • elementthe XMLInternalNode which gives the parsed form of the template definition, along with its "body".

  • prioritythe priority associated with this template which is computed relative to the other templates in the style sheet(s)

  • modethe value of the mode attribute.

Objects from the Class

A virtual Class: No objects may be created from it.

Extends

Class "oldClass", directly.

Methods

docName

signature(doc = "XSLTemplateDescription"): get the name of the XSL style sheet document from this template

Author(s)

Duncan Temple Lang

References

http://xmlsoft.org/XSLT

See Also

xsltApplyStyleSheet

Examples

showClass("XSLTemplateDescription")

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