An XSL style sheet can be used to transform an XML document into another form.
XSL style sheets work as a series of templates which produce the desired formatting
effect each time a given element is encountered. One of the most common uses of XSL is
to apply presentational markup to a document based on rules relating to the structural
markup. For example, each time a "title" appears in the structural markup, the text
within the element could be put into italics; or each time a "chapter heading" appears,
it could be given a large, bold font and placed in the centre of the page. XSL can also
control the order in which elements and attributes are displayed. This means that
tables of contents or indexes can be generated automatically on the basis of the
content of a document. XSL is itself an implementation of XML.
Syntax
Visual Basic (Declaration) | |
---|
Public Property XslDocument As String
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As XmlField
Dim value As String
instance.XslDocument = value
value = instance.XslDocument
|
C# | |
---|
public string XslDocument {get; set;}
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also