[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Nesting {...}


Subject: [xsl] Nesting {...}
From: "Richard Lewis" <richard.lewis@xxxxxxxxx>
Date: Sat, 25 Jan 2003 00:17:59 -0000

Is it possible to have two {...} expressions in one?

e.g. <a
href="mailto:{//person[@initials='{@initials}']/@email}"><xsl:value-of
select="@initials" /></a>

(NOTE: in person[@initials='{@initials}'] the two 'initials' attributes
are different; the first is the initials attribute of a 'person' element
and the second and third ones are the initials attributes of the context
node.)

(Also: person elements take form: <person name="My Name" initials="MN"
email="me@xxxxxxxxxxxx" /> )

This expressions works if I substitute {@initials} for a literal string.

Any ideas?  Thanks in advance.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database: 205 - Release Date: 05/06/2002
 


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



Current Thread