J
Jyrki Keisala
I have an XML file which looks like this:
<command name="Options" phrase="Options">
<key value="z" extended="NONE" qual="L-CTRL" pause="100" repeat="1"
duration="200"/>
</command>
<command name="Command Room" phrase="Command Room">
<key extended="F2" pause="100" repeat="1" duration="200"/>
</command>
<command name="Attack Periscope" phrase="Attack Periscope">
<key extended="F3" pause="100" repeat="1" duration="200"/>
</command>
So, for each "key" element, there does not necessarily exist all attributes
(for example, for some, the attribute @value is missing).
I want to express this as a HTML table, so that for the missing attributes,
an empty cell is created. Any ideas, anyone?
<command name="Options" phrase="Options">
<key value="z" extended="NONE" qual="L-CTRL" pause="100" repeat="1"
duration="200"/>
</command>
<command name="Command Room" phrase="Command Room">
<key extended="F2" pause="100" repeat="1" duration="200"/>
</command>
<command name="Attack Periscope" phrase="Attack Periscope">
<key extended="F3" pause="100" repeat="1" duration="200"/>
</command>
So, for each "key" element, there does not necessarily exist all attributes
(for example, for some, the attribute @value is missing).
I want to express this as a HTML table, so that for the missing attributes,
an empty cell is created. Any ideas, anyone?