This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

dynamic name/value pairs on URL using "following::"


I am using the following loop to produce a 2 identical column table:
<xsl:for-each select="PARENT/CHILD [position() mod 2 = 1]">
This part works fine.  On each of the two columns I have a button that will send dynamic name/value pairs in the URL.  To get the dynamic data for the button on the left column's line items I use the following code:
<a href="ui.do?firstVar={/XXX/YYY/ZZZ}&amp;secondVar={/XXX/YYY/123}">
    <img src="../images/billing.gif"/>
</a>
This works fine as well.  My problem is with the "following::" syntax using the {} notation to get the value from the XML file for the column on the right side.  I've tried it many different ways and it does not work.  I still get the value from the left
 column when I try: 
following::{.XXX/YYY/ZZZ}
Any help will is greatly appreciated.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]