(command)
| 331 | |
| 332 | |
| 333 | def xml_for(command): |
| 334 | name = command['name'] |
| 335 | isAsync = command['async'] and ' (A)' or '' |
| 336 | isDeprecated = command['deprecated'] and ' (D)' or '' |
| 337 | dirname = command['dirname'] |
| 338 | return '''<xsl:if test="name=\'%(name)s\'"> |
| 339 | <li><a href="%(dirname)s/%(name)s.html"><xsl:value-of select="name"/>%(isAsync)s %(isDeprecated)s</a></li> |
| 340 | </xsl:if> |
| 341 | ''' % locals() |
| 342 | |
| 343 | |
| 344 | def write_xml(out, user): |