C# Class Sage.Views.XsltTransform

Mostra file Open project: igorfrance/sage Class Usage Examples

Protected Properties

Property Type Description
dependencies List

Public Methods

Method 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.

Protected Methods

Method Description
GetArguments ( object>.Dictionary arguments ) : XsltArgumentList

Converts the specified arguments dictionary into an XsltArgumentList.

Private Methods

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

Method Details

Create() public static method

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.
return XsltTransform

Create() public static method

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.
return XsltTransform

GetArguments() protected method

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

Transform() public abstract method

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.
return void

Transform() public abstract method

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.
return void

Property Details

dependencies protected_oe property

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