Having trouble with this XSL transform in my XHTML.
Illustration of my source doc:
<blockquote>
<center>
<h1>CHAPTER 100. RANDOM TEXT HERE </h1>
</center>
<center>
<h1>CHAPTER 200. RANDOM TEXT HERE </h1>
</center>
</blockquote>
My desired output:
<title chapter="100"> CHAPTER 100. RULES OF SOMETHING TEXT HERE </title>
<title chapter="200"> CHAPTER 200. RULES OF SOMETHING TEXT HERE </title>
Any ideas on how I could add this to my XSLT stylesheet? Would I use regex here to help me match on the chapter #?
Thanks in advance.
Well, it would involve something like