RE: [xsl] And while you're figuring out my last one....

Subject: RE: [xsl] And while you're figuring out my last one....
From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx>
Date: Mon, 16 Jul 2001 10:04:06 +0100
Just tried this one out, and it didn't work. Probably because of something I
didn't tell you! It's already within a template, so I can't use the
xsl:template command. This is the full code::

<xsl:call-template name="PrintRows">
	<xsl:with-param name="RowColor" select="2" />
	<xsl:with-param name="DisplayText" select="'Holding Address:'" />
	<xsl:with-param name="Value">
			<xsl:when test="$comma-element">
'NameAddress') and	preceding-sibling::*[generate-id() =
					<xsl:value-of select="." /><br/>
				<!-- putting the Address when it starts @ NameAddress2 -->
		<xsl:value-of select="RetrieveNameAndAddressRSResponse/PostCode" />
	<xsl:with-param name="Display" select="''" />
	<xsl:with-param name="Amend" select="''" />

If I could have a nice little xsl:for-each that will retrieve all Nodes that
start-with(local-name(), 'NameAddress') but not NameAddress1 (that's got to
be easy?.. I've tried [starts-with(local-name(), 'NameAddress') and [not
local-name() = 'NameAddress1']], but it doesn't work)

Thanks for the help,

Daniel Newman.

 XSL-List info and archive:

Current Thread