|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Compute attribute value from sub-element
Suppose I had the following XML fragment:
<entry>
<key>foo</key>
<description>A sample link</description>
</entry>
Suppose I would like to create the following output using XT:
<a href="http://www.frob.org/search?type=simple&key=foo">A sample link</a>
How would I go about this? My problem is how to create the `href'
attribute of the output element `a', in particular how to concat the
constant string "http://www.frob.org/search?type=simple&key=" and the
content of the `key' input element.
tia,
kai
--
I like BOTH kinds of music.
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








