<?xml version='1.0' encoding='utf-8' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html"/>
	<xsl:include href="Style1.xsl"/>
	<xsl:template match="/">
		<!-- Set Formatting Characteristics -->
		<xsl:call-template name="Style1"/>

		<h1>Creating Hyperlinks from xml (Using the Pull method)</h1>
		<table border="1">

			<tr>
				<th>name</th>
				<th>description</th>
				<th>url</th>
			</tr>

			<xsl:for-each select="links/link">
				<tr>
					<td>
						<xsl:value-of select="@name"/>
					</td>
					<td>
						<xsl:value-of select="@description"/>
					</td>
					<td>
						<a>
							<xsl:attribute name="href">{@url}</xsl:attribute>
							<xsl:value-of select="@url"/>
						</a>
					</td>
				</tr>
			</xsl:for-each>
		</table>
	</xsl:template>
</xsl:stylesheet>
