RE: [xsl] RE: adding link to report

Subject: RE: [xsl] RE: adding link to report
From: "Sawyer, Larry" <Larry.Sawyer@xxxxxxx>
Date: Mon, 2 Jun 2003 11:11:51 -0400
Thanks Ken,

I have several different reports using this xsl.  Each report has a
different number of variables with different severities.  So for an example,
the report will have 3 rows, with 3 different images in each row that keys
off the severity.  I am looking to find a way to incorporate an href tag for
each of the images generated.  I will know which href should go with each
image.  I don't know how to wrap the href around the various images, since I
am calling them dynamically.

Does that make more sense?

-----Original Message-----
From: G. Ken Holman [mailto:gkholman@xxxxxxxxxxxxxxxxxxxx]
Sent: Monday, June 02, 2003 10:41 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] RE: adding link to report


At 2003-06-02 09:52 -0400, Sawyer, Larry wrote:
>I didn't get any responses to this.

I don't think your question is very clear.

>Can it be done for me to call the
>images the way I am below, and then assign a link to those images.

I don't understand "then assign a link to" ... how is this different than 
wrapping your image element with an anchor element?  Are you asking an HTML 
question?

You cannot modify the result tree once it is created, so the timing implied 
in your question is not possible.

>If so,
>and suggestions on how this can be done.

If you need <a> around <img> then do so by putting <a> to the result tree 
first and then <img> as a child of it.

I hope this helps.

................. Ken


--
Upcoming hands-on courses: (registration still open!)
-      (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003

G. Ken Holman                mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X              Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:    http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc


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

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


Current Thread