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]
Other format: [Raw text]

Re: newbie question: nested tags


Jeff,

>I'm guessing the "url" is an element within scope that has the desired
>url string within it's text node(s)?
>
>If so, then...
>
><a>
>   <xsl:attribute name="href"><xsl:value-of select="url"/></xsl:attribute>
>   link
></a>
>

Not wrong, but clumsy.  You need to look up attribute value templates
too, which gives you:

<a href="{url}"> link </a>

Regards,
Trevor Nash

--
Traditional training & distance learning,
Consultancy by email

Melvaig Software Engineering Limited
voice:     +44 (0) 1445 771 271 
email:     tcn@melvaig.co.uk

 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]