mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
129 lines
4.7 KiB
XML
129 lines
4.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output method="html"/>
|
|
|
|
<xsl:template match="/">
|
|
<style>
|
|
td { border-style: inset; border-color: lightgray; border-width: 1px; }
|
|
td.header { border-style: inset; border-color: gray; border-width: 1px; }
|
|
</style>
|
|
<html>
|
|
<head>
|
|
<title><xsl:value-of select="s_define/title"/></title>
|
|
</head>
|
|
|
|
<body>
|
|
<font face="Arial">
|
|
|
|
<a name="TOP"></a>
|
|
<table bgcolor="#000000" width="100%" cellpadding="5" cellspacing="1">
|
|
<tr>
|
|
<td bgcolor="#fff2cc" >
|
|
<b><font size="5" face="Arial">
|
|
<xsl:value-of select="s_define/title"/>
|
|
</font></b>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br></br><br></br>
|
|
|
|
<!-- write out index to sim_objects -->
|
|
<table width="100%" cellpadding="5" cellspacing="0" border="1" bordercolor="black" style="border-style: ridge;" >
|
|
<tr>
|
|
<td bgcolor="#ccccff">
|
|
<b><font size="3" face="Arial">
|
|
Simulation Objects
|
|
</font></b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<xsl:for-each select="s_define/sim_object">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
#<xsl:value-of select="sim_object_name"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="sim_object_name"/>
|
|
</a>
|
|
<br></br>
|
|
</xsl:for-each>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br></br><br></br>
|
|
|
|
<!-- write out each sim_objects -->
|
|
<xsl:for-each select="s_define/sim_object">
|
|
<table width="100%" cellpadding="5" cellspacing="0" border="1" bordercolor="black" style="border-style: ridge;" >
|
|
<tr>
|
|
<td bgcolor="#ccccff" colspan="2">
|
|
<b><font size="3" face="Arial">
|
|
<a>
|
|
<xsl:attribute name="name">
|
|
<xsl:value-of select="sim_object_name"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="sim_object_name"/>
|
|
object
|
|
</a>
|
|
</font></b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<TT>Structures & Initialization Data</TT>
|
|
</td>
|
|
<td>
|
|
<xsl:for-each select="structs/struct">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:value-of select="link"/>#<xsl:value-of select="struct_name"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="struct_name"/>
|
|
</a>
|
|
<br></br>
|
|
<xsl:for-each select="default_data">
|
|
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:value-of select="file"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="file"/>
|
|
</a>
|
|
<br></br>
|
|
</xsl:for-each>
|
|
</xsl:for-each>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><TT>Jobs</TT></td>
|
|
<td>
|
|
<xsl:for-each select="jobs/job">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:value-of select="link"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="job_name"/>
|
|
()
|
|
</a>
|
|
<br></br>
|
|
</xsl:for-each>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br></br><br></br>
|
|
</xsl:for-each>
|
|
|
|
Generated from <a><xsl:attribute name="href">S_define</xsl:attribute>S_define</a>
|
|
<br></br>
|
|
|
|
</font>
|
|
</body>
|
|
</html>
|
|
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|
|
|