xsl-list
[Top] [All Lists]

Nesting {...}

2003-01-24 17:17:59
Is it possible to have two {...} expressions in one?

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

(NOTE: in person[(_at_)initials='{(_at_)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(_at_)mydomain(_dot_)net" /> )

This expressions works if I substitute {(_at_)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



<Prev in Thread] Current Thread [Next in Thread>