[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Really basic, but can't get it to work, and it's g

Subject: RE: Really basic, but can't get it to work, and it's getting on my nerves::*
From: "Dylan Walsh" <Dylan.Walsh@xxxxxxxxxx>
Date: Tue, 3 Jul 2001 15:36:26 +0100
apply templates select level above
> <xsl:template match="/">
>	<b><xsl:value-of select="HostSlot" /></b>
>	<xsl:apply-templates select="/SearchForHolderResponse" />
> </xsl:template>

Some pointers: 
First of all "/" matches the root *node* which is one level above the
root *element*. So try <xsl:template match="/ScripCommsMessage"> or else
change the paths within the template.

Secondly "/SearchForHolderResponse" implies that this named element is
the root element, but in your XML this is not the case. Any path
beginning with "/" is absolute and starts with the root node of the
document.

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.