This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Change the first line of the main template to be

<xsl:template match="/ScripCommsMessage">

Tom P

[Daniel Newman]

> 
> I've got the following XML <slightly modified>
> 
> <ScripCommsMessage xmlns="http://www.computershare.com/scripcomms/v1.0";>
> <HostSlot>1479</HostSlot>
> ...

> 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-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]