The XSLT processing model: a final round

Finally we’re getting to the last of the children in the input document... What is happening here? Just as with TEI and body, the TEI p element is matched and translated to the HTML p element in the output document. Since the xsl:apply-templates instruction is present, the children are processed.

What rules apply when we get to the emph element in our input document? As you can see, there’s no template that matches, so we apply the built-in rules, which say process the children. However there are no children: just text. As we saw earlier, if what we’re processing is text, we simply spit out the text.

The XSLT Processing Model, slide 7 of 10