[xsl] Really basic, but can't get it to work, and it's getting on my nerves::*

Subject: [xsl] Really basic, but can't get it to work, and it's getting on my nerves::*
From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx>
Date: Tue, 3 Jul 2001 15:25:31 +0100
OK,

here's one for the beginners;

I've got the following XML <slightly modified>

<ScripCommsMessage xmlns="http://www.computershare.com/scripcomms/v1.0";>
	<HostSlot>1479</HostSlot>
	<SearchForHolderResponse>
		<Result>0</Result>
		<NoOfItems>10</NoOfItems>
		<FirstRecordHandle>A10A000002000100</FirstRecordHandle>
		<RecordHandle>880A000002000100</RecordHandle>
		<Items>
			<Item id="1">
				<HIN>C0072995945</HIN>
				<PostCode>M60 1AA</PostCode>
				<NameAddress1>SMITH &amp; WILLIAMSON NOMINEES</NameAddress1>
				<NameAddress2>&lt;A/C A164&gt;,</NameAddress2>
				<NameAddress3>12 POINT STREET</NameAddress3>
				<NameAddress4>SPITTAL ESTATE</NameAddress4>
				<NameAddress5>SANDLODGE</NameAddress5>
				<NameAddress6>MANCHESTER</NameAddress6>
				<NameAddress7/>
			</Item>
		</Items>
	</SearchForHolderResponse>
</ScripCommsMessage>


And this is the start of my XSL:

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:include href="CommonFunctions.xsl" />
<xsl:output method="html" />
<xsl:output indent="yes" />

<xsl:template match="/">
	<b><xsl:value-of select="HostSlot" /></b>
	<xsl:apply-templates select="/SearchForHolderResponse" />
</xsl:template>

<xsl:template match="SearchForHolderResponse" >
	<xsl:value-of select="FirstRecordHandle" />
	<xsl:for-each select="Items/Item">
		<xsl:call-template name="GetTableData" />
	</xsl:for-each>
</xsl:template>
</xsl:stylesheet>


I keep getting a blank page, and can't figure out how to get the data into
my html page!

I've tried everything, but nothing seems to be working for me. Anyone got
any wise suggestions?

Thanks,
Daniel Newman.

Bis-Web Ltd.
Tel: 01993 880614
Fax: 01993 881625

****************************************************************************
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the
material from any computer.
****************************************************************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread