<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:variable name="flowers" select="document('DahliaDescriptions.xml')"></xsl:variable>
<xsl:template match="/">
<html>
<head>
<title></title>
</head>
<body>
<h1>XML C# Lab Puppy 8</h1>
<p>Here are the Dahilas!</p>
<xsl:for-each select="Shipment/Supplier[@Name = 'Bishop Dahlias']/Plant">
<xsl:variable name="id" select="@ID" />
<xsl:value-of select="Name" />:
<span style="padding-left:10px">
<xsl:apply-templates select="$flowers/FlowerMania/Descriptions/ID[@Num = $id]" />
</span>
<br /><br />
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template match="ID">
<xsl:value-of select="Text"></xsl:value-of>
</xsl:template>
</xsl:stylesheet>