posted 15 years ago
XSLT has a default set of rules which it applies whenever there is no template specified for a node. Approximately speaking, these default rules are to copy text nodes to the output and to apply templates to the children of element nodes. And it always starts processing at the root, which is why you are seeing text from those other elements in your output. If you insert this template you will come closer to your desired result: