|
Subject: Compute attribute value from sub-element From: Kai.Grossjohann@xxxxxxxxxxxxxxxxxx (Kai Großjohann) Date: 16 Aug 1999 16:01:09 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Search paths for XT?, Kai Großjohann | Thread | Re: Compute attribute value from su, Jon Smirl |
| Search paths for XT?, Kai Großjohann | Date | Re: Compute attribute value from su, Jon Smirl |
| Month |