Question about transformation syntax

Hi,

In the Amaya help page 'Using the HTML.trans File' it says:

"In a pattern it is possible to express conditions on sequence of tags, on the 
content of a tag and on the existence and value of attributes."

All examples on that page or in HTML.trans itself only seem to use the sequence 
and nesting of tags. I cannot find an explanation of the syntax or examples of 
usage with attributes, e.g. to transform something like

<p class="magic1">placeholder1</p>

to e.g.

<ul class="magic2">
<li>placeholder2</li>
<li>placeholder3</li>
</ul>

Is that at all possible?

Also, in the above quote, does 'content of a tag' refer to nested tag structure 
or to actual data within a tag? If the latter, is there a description of the 
syntax anywhere?

Thank you, Michael

-- 
Michael Palmer
Dept. of Chemistry, University of Waterloo
200 University Ave W
N2L 3G1 Waterloo, ON
Canada

Phone: (519) 888-4567 ext. 5100
Fax: (519) 746-0435
e-mail: mpalmer@uwaterloo.ca
Office: ESC-234 Lab: ESC-241

Received on Monday, 12 September 2005 15:27:09 UTC