Re: [XSL-FO] Re: Hyperlink Queries in a Dynamic Table
- XSLT and XPath questions would be better posted to the following list:
There are a number of subscribers who would enthusiastically respond to
There is also an *excellent* FAQ at:
At 2003-05-28 15:45 +0000, raithnwno wrote:
>Here's a better explanation of my question:So is "Level2" your row?
>I'm using a FOR-EACH like:
>I want to hyperlink one of the columns to use an http:// sqlUse an attribute value template:
>but need to add a variable in the query that uses the current row's
>Basically somehow add 'and ProdID=<xsl:value-of select="ProdID">'
>Into that query.
An attribute value template is the equivalent to <xsl:value-of/> but is
usable inside of a literal result element's attribute where an element
instruction would not be allowed.
>1. How do I have more control over the value-of in a for-each per"Over value-of"?? Not sure what you are asking.
At all points inside of:
<!--the current node "." is each node in turn of those
selected by the address-->
>When I attempt to test using a variable it always pulls theYou don't say what expression you are using for your test. If you base
>first row's value and not the row that it is currently in.
your test on the current node by either using "." or not beginning the
expression with "/", you will be relative to the node being processed at
the point of time in the iteration.
I hope this helps.
Upcoming hands-on courses: (registration still open!)
- (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
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/f/bc