re; xslt help

Joined
Jul 21, 2004
Messages
57
Reaction score
0
Sir

I encounter the problem:

<td width="80%" class="body_nls">
<select
name="{following-sibling::docTp[1]}"
OnChange="javascript:generateURL('{$COUNTRYCODE}','{$ACCTTP}','{$INSTCODE}','{ACCTNBR}','{following-sibling::refrID[1]}',this.options[this.selectedIndex].value),'{CUSTID}','{SERVTP}'">

<!-- calling a template to
generate <option> tags
-->
<xsl:call-template
name="generateDropdown">
<xsl:with-param
name="length"
select="preceding-sibling::totPage[1]"
/>
</xsl:call-template>
</select>
</td>
</tr>

where the generatDropdown template will give out the drop list box

function
generateURL(acctCtry,acctType,acctInst,acctNumu,imageCursor,index,custid,servid) { var servername = 'http://gp1007X9.gib-ivs.hsbc.com.gibivs/ViewImage?'; while(index.length<4){ index="0"+index; }

window.open(window.location.href=servername+'acctCtry=' + acctType + 'acctType=' + acctType + 'acctInst=' + acctInst + 'acctNumu=' + acctNumu + 'imageCursor=' + imageCursor + '#' + index +'custid=' + custid + 'service=' + servid); }

however, i cannot get the value at '{following-sibling::refrID[1]}'. Is there any syntax especially handling for following-sibling?

Timothy Ma
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

xslt problem help! 1
XPATH: expression question 6
help on xslt 1
re dynamic drop down 1
Replace in XSLT 5
XSLT help 6
Need help remake xsl transformation 1
Flat HTML headers to nested XML sections 3

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top