【发布时间】:2011-12-16 21:44:46
【问题描述】:
我需要编写将返回 html 表并为其内容指定字体大小的 SQL 语句。
我找到了一些信息here。这个tipic的解决方案描述了如何获取带有元素但没有属性的XML:
<tr>
<th>Problem</th>
<th>Onset</th>
<th>Status</th>
</tr>
<tr>
<td>aaa</td>
<td>bbb</td>
<td>ccc</td>
</tr>
但我需要编写返回如下内容的 SQL 语句:
<tr>
<th><font size="1">Problem</font></th>
<th><font size="1">Onset</font></th>
<th><font size="1">Status</font></th>
</tr>
<tr>
<td><font size="1">aaa</font></td>
<td><font size="1">bbb</font></td>
<td><font size="1">ccc</font></td>
</tr>
【问题讨论】: