Article ID: 300934 - Last Review: March 29, 2007 - Revision: 7.5 How to apply an XSL Transformation to XML for streaming by using Visual Basic .NETThis article was previously published under Q300934 On This PageSUMMARY This article describes how to apply the Extensible
Stylesheets Language (XSL) Transformations (XSLT) language to an Extensible
Markup Language (XML) document by using the XslTransform class to create a new XML document. XSL is an XML-based language
that is designed to transform either an XML document into another XML document
or an XML document into any other structured document. RequirementsThe following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:
How to apply XSL TransformationsThis example uses two files named Books.xml and Books.xsl. You can create your own Books.xml and Books.xsl files or use the sample files that are included with the .NET Software Development Kit (SDK) QuickStarts.
Complete code listingREFERENCES For more information about the XslTransform class, see the following Microsoft .NET Framework Class Library
documentation: http://msdn.microsoft.com/en-us/library/system.xml.xsl.xsltransform(vs.71).aspx
(http://msdn.microsoft.com/en-us/library/system.xml.xsl.xsltransform(vs.71).aspx)
For more information about the XslTransform class with the XslTransform object, see the following Microsoft .NET Framework Developer's
Guide documentation: http://msdn.microsoft.com/en-us/library/aa735784.aspx
(http://msdn.microsoft.com/en-us/library/aa735784.aspx)
For a practical comparison of XSLT and Active Server Pages .NET,
see the following MSDN Voices Extreme XML column: http://msdn2.microsoft.com/en-us/library/ms950754.aspx
(http://msdn2.microsoft.com/en-us/library/ms950754.aspx)
For more information about XML in .NET, see the ".NET Framework
XML Classes and C# Offer Simple, Scalable Data Manipulation" article from MSDN Magazine at the following Microsoft Web site: http://msdn.microsoft.com/msdnmag/issues/01/01/xml/
(http://msdn.microsoft.com/msdnmag/issues/01/01/xml/)
For more general information about Visual Basic .NET or XML in
.NET, see the following Usenet newsgroups: microsoft.public.dotnet.languages.vb
(http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?query=Visual+Basic+.NET+&dg=&cat=en_US_d02fc761-3f6b-402c-82f6-ba1a8875c1a7&lang=en&cr=&pt=&catlist=&dglist=&ptlist=&exp=&sloc=en-us)
microsoft.public.dotnet.xml (http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?query=XML+in+.NET&dg=&cat=en_US_d02fc761-3f6b-402c-82f6-ba1a8875c1a7&lang=en&cr=&pt=&catlist=&dglist=&ptlist=&exp=&sloc=en-us) For more information, refer to the following book: R. Allen Wyke, Sultan Rehman, Brad Leupen, XML Programming (Core Reference), http://www.microsoft.com/mspress/books/sampchap/4798.aspx
(http://www.microsoft.com/mspress/books/sampchap/4798.aspx)
Microsoft Press, 2001 For more information, refer to the following Microsoft Training
& Certification course: Microsoft Corporation 2500 Introduction to XML and the Microsoft .NET Platform
(http://www.microsoft.com/learning/syllabi/en-us/2500Afinal.mspx)
| Article Translations
|
Back to the top
