C# Класс Sage.Views.XsltTransform

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
dependencies List

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetArguments ( object>.Dictionary arguments ) : XsltArgumentList

Converts the specified arguments dictionary into an XsltArgumentList.

Приватные методы

Метод Описание
DiscoverXsltExtensionObjects ( ) : void
OmitNamespacePrefixResults ( CacheableXmlDocument document ) : void
OnAssembliesUpdated ( object sender, EventArgs arg ) : void
XsltTransform ( ) : System

Описание методов

Create() публичный статический Метод

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.
Результат XsltTransform

Create() публичный статический Метод

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.
Результат XsltTransform

GetArguments() защищенный Метод

Converts the specified arguments dictionary into an XsltArgumentList.
protected GetArguments ( object>.Dictionary arguments ) : XsltArgumentList
arguments object>.Dictionary The dictionary of arguments to use.
Результат System.Xml.Xsl.XsltArgumentList

Transform() публичный абстрактный Метод

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.
Результат void

Transform() публичный абстрактный Метод

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.
Результат void

Описание свойств

dependencies защищенное свойство

Gets the list of files that this transform depends on (dependencies).
protected List dependencies
Результат List