|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Output a link in a transformation to html
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








