Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <html>
- <head>
- <title>Sklep Muzyczny</title>
- </head>
- <body>
- <xsl:for-each select="/albumy/album">
- <div style="width:44%; float:left; margin-left:5%; margin-bottom:2%; border:1px solid blue; border-radius:20px;">
- <div style="float:left; margin-left:5%; color:blue;">
- <h2><xsl:value-of select="autor"/></h2>
- </div>
- <img style="height:40%; float:right; border-top-right-radius:20px; border-bottom-right-radius:20px;">
- <xsl:attribute name="src">
- <xsl:value-of select="okladka" />
- </xsl:attribute>
- </img>
- </div>
- </xsl:for-each>
- </body>
- </html>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement