stock - <-New...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?xml version="1.0" encoding="UTF-8" ?> <!-- New Perspectives on XML Tutorial 6 Tutorial Case Hardin Financial XSL Style Sheet Author: Israel Crawford Date: 8/2/2011 Filename: stock.xsl Supporting Files: down.gif, same.gif, stock.css, up.gif --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> x <xsl:output method="html" version="4.0" /> < <xsl:template match="/"> <html> <head> <title> Stock Information </title> <link href="stock.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="datetime"><b>Last Updated:</b> <xsl:value-of select="portfolio/date" /> at <xsl:value-of select="portfolio/date" /> </div> <h1>Hardin Financial</h1> <h2>Stock Information</h2> < <h2 class="category">Industrials</h2> <xsl:apply-templates select="portfolio/stock[category='Industrials']"> <xsl:sort select="sName"/> </xsl:apply-templates> < <h2 class="category">Utilities</h2> <xsl:apply-templates select="portfolio/stock[category='Utilities']"> <xsl:sort select="sName"/> </xsl:apply-templates>
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/10/2011 for the course PRG 111 taught by Professor Richards during the Spring '11 term at Everest University.

Page1 / 3

stock - <-New...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online