Generate an error on any section nested five levels deep. It is important to understand that the XSLT processor always works within a given context.
The following example shows typical elements of an XSLT template. The result is an outline structure that is harder to edit in plain text form, like this, but is much easier to edit with an outline-oriented editor.
Finally, the LINK tag serves two purposes.
A structure tag, on the other hand, demarcates a new segment of text, so at a minimum it always generates a line break in addition to other format changes.
You have to choose between elegant XSLT and perfect output. This section shows you how to do that.
XSLT works by transforming the source tree into the result tree. A typical XSLT template element will start by specifying which element it applies to.
The XSLT default rules simply copy all contents to the output. XPath expressions can be more complicated. The XPath tutorial - basics article introduces additional features of XPath.