comparison xsls/books.xsls @ 107:ee725af08951

Two unrelated changes were erroneously committed simultaneously: - Making the rest of HTML valid. - Updating the "Converting rewrite rules" howto examples to utilize the new power of the "return" directive.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 19 Oct 2011 12:39:11 +0000
parents 61e04fc01027
children f31230984540
comparison
equal deleted inserted replaced
106:56457a474903 107:ee725af08951
1 X:stylesheet { 1 X:stylesheet {
2 2
3 X:output method="html" indent="no" encoding="utf-8"; 3 X:output method="html" indent="no" encoding="utf-8"
4 doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN";
4 5
5 X:strip-space elements = "*"; 6 X:strip-space elements = "*";
6 7
7 <!-- 8 <!--
8 -- a current directory of a XSLT script is where the script is stored, 9 -- a current directory of a XSLT script is where the script is stored,
40 41
41 <table><tr> 42 <table><tr>
42 43
43 <td bgcolor="#EEEEEE"> 44 <td bgcolor="#EEEEEE">
44 <a href="{@link}"> 45 <a href="{@link}">
45 <img src="{@cover}" style="padding: 2pt;" border="0"/> 46 <img src="{@cover}" alt="" style="padding: 2pt;" border="0"/>
46 </a> 47 </a>
47 </td> 48 </td>
48 49
49 <td> 50 <td>
50 X:text {title: } <a href="{@link}">!{@title}</a> <br/> 51 X:text {title: } <a href="{@link}">!{@title}</a> <br/>