xsl-list
[Top] [All Lists]

Re: About source-attributes in result-attributes

2004-01-09 03:03:14

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(_dot_)php?view={(_at_)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



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