Hi,
Five year ago I couldn't even think I'll be writing serious letters
with such subjects. Today I've run into another Genshi peculiarity
that I can't explain.
The source at
http://paste.lisp.org/display/114200 contains two
identical transformers that insert two signatures into the last two
elements of <tr> parent. The first starts from the root, the second -
from the middle. However, the second transformer manages to insert
only one signature. Here is the output:
>python gentest.py
<tr>
<th class="col1">
<label for="field-cc">Cc:</label>
</th>
<td class="col1">
<span>
<input type="text" id="field-cc"/>
</span>
</td>
<th class="col2">
Aaaa</th>
<td class="col2">
Bbbb</td>
</tr>
-----
<tr>
<th class="col1">
<label for="field-cc">Cc:</label>
</th>
<td class="col1">
<span>
<input type="text" id="field-cc"/>
</span>
</td>
<th class="col2">
</th>
<td class="col2">
Bbbb</td>
</tr>
The question is - how can I construct the transformer to insert both
signatures in the second case?
Thanks.
--
anatoly t.