Click or drag to resize

Stylesheet Class

The Stylesheet class represents a valid, compiled xslt stylesheet. It can be instantiated with the Compile(StylesheetProvider, CompileOptions, ErrorLog) static method. The same Stylesheet can be used for multiple executions with different RuntimeOptions.
Inheritance Hierarchy
SystemObject
  Altova.RaptorXml.XPathModule
    Altova.RaptorXml.XPathExecutable
      Altova.RaptorXml.XsltStylesheet

Namespace:  Altova.RaptorXml.Xslt
Assembly:  raptorxmlxbrlapi (in raptorxmlxbrlapi.dll) Version: 2.9.0.0 (1.0.0.0)
Syntax
public class Stylesheet : Executable

The Stylesheet type exposes the following members.

Properties
  NameDescription
Public propertyLocation (Inherited from Module.)
Public propertyReferencedModules (Inherited from Executable.)
Public propertySchema (Inherited from Module.)
Public propertyStripInputTypeAnnotations (Inherited from Module.)
Public propertyWhitespaceHandler (Inherited from Module.)
Top
Methods
  NameDescription
Public methodStatic memberCompile
Compiles a new Stylesheet from the provided StylesheetProvider and CompileOptions. This involves loading of the xslt from the StylesheetProvider, validating and preparing for execution. In case of an xml or a static error, the returned Stylesheet is null and the ErrorLog contains the error(s).
Public methodDispose (Inherited from Module.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Execute the compiled Stylesheet with the provided RuntimeOptions. The value of the principal result can be accessed via the MainValue property. Note that the actual value in the Sequence will vary depending on the DeliveryFormat specified in the RuntimeOptions. In case of a runtime error the returned ResultList is null and the ErrorLog contains the error.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadXmlDocument (Inherited from Module.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also