Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='ISO-8859-2'?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="html"/>
- <!-- Root template -->
- <xsl:template match="/">
- <HTML>
- <head>
- <title>Filmografia Aktorska</title>
- <link rel="stylesheet" type="text/css" href="stl.css"/>
- </head>
- <h2> Dane Aktora: </h2>
- <h1><xsl:value-of select="aktor/@imie"/><xsl:value-of select="aktor/@nazwisko"/></h1>
- <h1><xsl:value-of select="aktor/datauro"</h1>
- <h1><xsl:value-of select="aktor/miejsceuro"</h1>
- <h1><xsl:value-of select="aktor/wzrost"</h1>
- <h2>Filmografia: </h2>
- <table>
- <tr>
- <td>Film</td>
- <td>Rola</td>
- <td>Rok</td>
- </tr>
- <xsl:apply-templates select="//monday"/></td>
- <td> <center><b><xsl:value-of select="@dane"/></b></center></td>
- <xsl:for-each select="imie"><tr>
- <td/>
- <td><center><xsl:value-of select="@dane"/></center></td>
- <td><center><p1><xsl:value-of select="@rola"/></p1></center></td>
- </tr>
- </xsl:for-each>
- </xsl:for-each>
- </table>
- </body>
- </html>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement