Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |
| xojo:info:constants [2021/04/26 07:37] – mz | xojo:info:constants [2021/04/26 07:41] (aktuell) – mz |
|---|
| &&XSLT&& | &&XSLT&& |
| |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/RBProject">===== Constants ===== | <?xml version="1.0" encoding="ISO-8859-1"?> |
| | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:foo="http://www.foo.org/" xmlns:bar="http://www.bar.org"> |
| <datatables> | <xsl:template match="/RBProject"> |
| ^ ItemName ^ ItemDef ^ ItemType ^ | <html> |
| | <body> |
| <xsl:for-each select="block/Constant"> | <xsl:value-of select="../ObjName"/>.<xsl:value-of select="ItemName"/> | <xsl:value-of select="ItemDef"/> | <xsl:value-of select="ItemType"/> | | <h2>Constants</h2> |
| </xsl:for-each> | <table border="1"> |
| </datatables> | <tr bgcolor="#9acd32"> |
| | <th>ItemName</th> |
| | <th>ItemDef</th> |
| | <th>ItemType</th> |
| | </tr> |
| | <xsl:for-each select="block/Constant"> |
| | <tr> |
| | <td><xsl:value-of select="../ObjName"/>.<xsl:value-of select="ItemName"/></td> |
| | <td><xsl:value-of select="ItemDef"/></td> |
| | <td><xsl:value-of select="ItemType"/></td> |
| | </tr> |
| | </xsl:for-each> |
| | </table> |
| | </body> |
| | </html> |
| </xsl:template> | </xsl:template> |
| </xsl:stylesheet> | </xsl:stylesheet> |