Sir
I encounter the problem:
<td width="80%" class="body_nls ">
<select
name="{followin g-sibling::docTp[1]}"
OnChange="javas cript:generateU RL('{$COUNTRYCO DE}','{$ACCTTP} ','{$INSTCODE}' ,'{ACCTNBR}','{ following-sibling::refrID[1]}',this.options[this.selectedIn dex].value),'{CUSTI D}','{SERVTP}'" >
<!-- calling a template to
generate <option> tags
-->
<xsl:call-template
name="generateD ropdown">
<xsl:with-param
name="length"
select="precedi ng-sibling::totPag e[1]"
/>
</xsl:call-template>
</select>
</td>
</tr>
where the generatDropdown template will give out the drop list box
function
generateURL(acc tCtry,acctType, acctInst,acctNu mu,imageCursor, index,custid,se rvid)
{
var servername =
'http://gp1007X9.gib-ivs.hsbc.com.gi bivs/ViewImage?';
while(index.len gth()<4){
index="0"+index ;
}
window.open(win dow.location.hr ef=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
I encounter the problem:
<td width="80%" class="body_nls ">
<select
name="{followin g-sibling::docTp[1]}"
OnChange="javas cript:generateU RL('{$COUNTRYCO DE}','{$ACCTTP} ','{$INSTCODE}' ,'{ACCTNBR}','{ following-sibling::refrID[1]}',this.options[this.selectedIn dex].value),'{CUSTI D}','{SERVTP}'" >
<!-- calling a template to
generate <option> tags
-->
<xsl:call-template
name="generateD ropdown">
<xsl:with-param
name="length"
select="precedi ng-sibling::totPag e[1]"
/>
</xsl:call-template>
</select>
</td>
</tr>
where the generatDropdown template will give out the drop list box
function
generateURL(acc tCtry,acctType, acctInst,acctNu mu,imageCursor, index,custid,se rvid)
{
var servername =
'http://gp1007X9.gib-ivs.hsbc.com.gi bivs/ViewImage?';
while(index.len gth()<4){
index="0"+index ;
}
window.open(win dow.location.hr ef=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