Suppose I have an XML file:
<document>
<title>How the West was Won</title>
<chapter>
Lorem Ipsum Blah .....
</chapter>
</document>
Is it possible to use XSLT or XSLFO or XSL to render the title like this:
How the West was Won
--------------------
Lorem Ipsum Blah .....
How would I generate the correct number of dashes on the line following the Title?
Try this:
Underlineis a recursive template that outputs a given number of dashes.