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

Re: [xsl] About source-attributes in result-attributes


Subject: Re: [xsl] About source-attributes in result-attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 9 Jan 2004 10:03:14 GMT

> So you create a new element and within the attribute of that new element u
> use data from the source xml by using a direct assignment of a variable.

There is no variable inthat expression.

> but if i really really wanted to print
> <input class="button" onclick="lgotoent('report.php?view={@idx}')"/>
> litterary to the target document what would be the syntax of that.

The XSLT spec is quite clear really: you use {{ and }} to get a literal
{  and } in attributes that are attribute value templates.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



Current Thread
Keywords