jeremy 2004/01/19 06:09:47
Modified: src/blocks/woody/samples/resources woody-page-styling.xsl
Log:
added @summary, using the value supplied by wi:hint to all <table>s output by
this xslt for WAI compliance
Revision Changes Path
1.14 +4 -4
cocoon-2.1/src/blocks/woody/samples/resources/woody-page-styling.xsl
Index: woody-page-styling.xsl
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-page-styling.xsl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- woody-page-styling.xsl 19 Jan 2004 14:07:37 -0000 1.13
+++ woody-page-styling.xsl 19 Jan 2004 14:09:46 -0000 1.14
@@ -174,7 +174,7 @@
Column group items layout
-->
<xsl:template match="wi:group[wi:styling/@layout='column']"
mode="group-layout">
- <table border="0">
+ <table border="0" summary="{wi:hint}">
<tbody>
<xsl:apply-templates select="wi:items/*"
mode="group-column-content"/>
</tbody>
@@ -197,7 +197,7 @@
Columns group items layout
-->
<xsl:template match="wi:group[wi:styling/@layout='columns']"
mode="group-layout">
- <table border="0">
+ <table border="0" summary="{wi:hint}">
<tbody>
<xsl:apply-templates select="wi:items/*"
mode="group-columns-content"/>
</tbody>
@@ -218,7 +218,7 @@
Row group items layout
-->
<xsl:template match="wi:group[wi:styling/@layout='row']"
mode="group-layout">
- <table border="0">
+ <table border="0" summary="{wi:hint}">
<tbody>
<tr>
<xsl:apply-templates select="wi:items/*" mode="group-row-content"/>
@@ -239,7 +239,7 @@
Rows group items layout
-->
<xsl:template match="wi:group[wi:styling/@layout='rows']"
mode="group-layout">
- <table border="0">
+ <table border="0" summary="{wi:hint}">
<tbody>
<tr>
<xsl:apply-templates select="wi:items/*" mode="group-rows-labels"/>