<xsl:template match="person">
A Person<p>
</xsl:template>
Here the <p> start-tag has no matching
end-tag, and, therefore, the stylesheet is malformed. Any other
markup you include in your XSLT stylesheet must be similarly
well-formed. Empty-element tags must end with
/>; attribute values must be quoted; less-than
signs must be escaped as <; all entity
references must be declared in a DTD except for the five predefined
ones, and so forth. XSLT has no exceptions to the rules of
well-formedness.
 |  |  |
8.3. Stylesheet Processors |  | 8.5. Calculating the Value of an Element with xsl:value-of |