Interesting problem

Subject: Interesting problem
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Mon, 16 Aug 1999 10:34:07 -0400
Hi,

A very interesting problem has been posted on the XSL list. How would we
resolve it in DSSSL. I'll take the best solution from both world and publish
it.

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.

regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread