C# Класс TransformXMLSample, shared-source-cli-2.0

Demonstrates the use of the XslTranform class.
Показать файл Открыть проект

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

Метод Описание
Main ( string args ) : void

Main entry point for the sample.

ReadTransformWrite ( string document, string stylesheet ) : void

Demonstrates the XslTransform class using two different overloads. One returns an XmlReader containing the transform. The other stores the transform in an XmlTextWriter.

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

Метод Описание
Output ( XmlReader reader, string nodeType ) : void

Output the XML content to the console.

OutputXml ( XmlReader reader ) : void

Output the tranformed XML in annotated form to the console. Calls the Output method.

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

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

Main entry point for the sample.
public static Main ( string args ) : void
args string
Результат void

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

Demonstrates the XslTransform class using two different overloads. One returns an XmlReader containing the transform. The other stores the transform in an XmlTextWriter.
public static ReadTransformWrite ( string document, string stylesheet ) : void
document string
stylesheet string
Результат void