C# Class Sage.Views.XsltTransform

Afficher le fichier Open project: igorfrance/sage Class Usage Examples

Protected Properties

Свойство Type Description
dependencies List

Méthodes publiques

Méthode Description
Create ( SageContext context, XmlDocument stylesheetMarkup ) : XsltTransform

Creates a new XsltTransform, using the specified context and stylesheetMarkup.

Create ( SageContext context, string stylesheetPath ) : XsltTransform

Creates an XsltTransform instance initialized with the document loaded from the specified stylesheetPath.

Transform ( XmlNode inputXml, TextWriter outputWriter, SageContext context, object>.Dictionary arguments = null ) : void

Transforms the specified inputXml into the specified outputWriter.

Transform ( XmlNode inputXml, XmlWriter outputWriter, SageContext context, object>.Dictionary arguments = null ) : void

Transforms the specified inputXml into the specified outputWriter.

Méthodes protégées

Méthode Description
GetArguments ( object>.Dictionary arguments ) : XsltArgumentList

Converts the specified arguments dictionary into an XsltArgumentList.

Private Methods

Méthode Description
DiscoverXsltExtensionObjects ( ) : void
OmitNamespacePrefixResults ( CacheableXmlDocument document ) : void
OnAssembliesUpdated ( object sender, EventArgs arg ) : void
XsltTransform ( ) : System

Method Details

Create() public static méthode

Creates a new XsltTransform, using the specified context and stylesheetMarkup.
public static Create ( SageContext context, XmlDocument stylesheetMarkup ) : XsltTransform
context SageContext The context under which this code is executing.
stylesheetMarkup System.Xml.XmlDocument The XSLT markup for the transform to create.
Résultat XsltTransform

Create() public static méthode

Creates an XsltTransform instance initialized with the document loaded from the specified stylesheetPath.
public static Create ( SageContext context, string stylesheetPath ) : XsltTransform
context SageContext The context under which this code is executing.
stylesheetPath string The path to the XSLT stylesheet.
Résultat XsltTransform

GetArguments() protected méthode

Converts the specified arguments dictionary into an XsltArgumentList.
protected GetArguments ( object>.Dictionary arguments ) : XsltArgumentList
arguments object>.Dictionary The dictionary of arguments to use.
Résultat System.Xml.Xsl.XsltArgumentList

Transform() public abstract méthode

Transforms the specified inputXml into the specified outputWriter.
public abstract Transform ( XmlNode inputXml, TextWriter outputWriter, SageContext context, object>.Dictionary arguments = null ) : void
inputXml System.Xml.XmlNode The input XML to transform.
outputWriter System.IO.TextWriter The output writer to transform to.
context SageContext The current context.
arguments object>.Dictionary Optional transform arguments.
Résultat void

Transform() public abstract méthode

Transforms the specified inputXml into the specified outputWriter.
public abstract Transform ( XmlNode inputXml, XmlWriter outputWriter, SageContext context, object>.Dictionary arguments = null ) : void
inputXml System.Xml.XmlNode The input XML to transform.
outputWriter System.Xml.XmlWriter The output writer to transform to.
context SageContext The current context.
arguments object>.Dictionary Optional transform arguments.
Résultat void

Property Details

dependencies protected_oe property

Gets the list of files that this transform depends on (dependencies).
protected List dependencies
Résultat List