C# 클래스 TransformXMLSample, shared-source-cli-2.0

Demonstrates the use of the XslTranform class.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0

공개 메소드들

메소드 설명
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