A Gentle Introduction to XSL
Basic Constructs
- Empty Elements within an XSL style sheet must end
with a forward slash (/).
- An XSL style sheet follows the rules defined by XML.
i.e.,
<target-element type="title"/>
- XML is case sensitive. When defining rules for XML
elements case must be uses, i.e., the following target elements are
different:
<target-element type="title"/>
<target-element type="Title"/>
- The XSL style sheet must start with a
<xsl> element.
- Each element must have an assigned
<rule> element.
- Each <rule>
contains at least one <target-element>
- The <target-element> is
the XML element that you want to process (style or maniuplate).