This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Output a link in a transformation to html
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Output a link in a transformation to html
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 1 Jun 2001 09:02:17 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I am doing a transformation from xml to html.
> This example is not well-formed, why?
>
> <H3>Web: <A HREF= <xsl:value-of select="."/>>
XML does not allow elements to be nested within attributes.
This is why XSLT invented attribute value templates, allowing you to write:
<a href="{.}">
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list