Hi,
I have the following table pulling data from an xml file. I can't change the
xml file as it means changing the program that created it (big project),
however I can change the web page.
What I have on the xml file is 6 digit account number. But I only need to
show on the web page the last 2 digits. I looked, and looked and still can't
find anything that would do this for me. In most programing alnguages there
is a function that would do this for me (newtext=right(mytext,2)). But I
can't seem to find anything for this (that plus searching for "right
function" gives you back 1,000... or records). All it shows is the full 6
digits.
Could anyone help.
<!--Acct Number-->
<TABLE width="448" DATASRC="#Accounts">
<tr>
<TD><SPAN DATAFLD="AccountNumber"></SPAN></TD>
</tr>
</TABLE>
Thanks,
Rodrigo.
Brian Staff - 29 Oct 2003 06:50 GMT
Rodrigo,
I think what you need to do is transform the original XML structure into a
new XML structure using XSLT, which will allow you to reformat your data and
then bind the new XML structure to your table using DHTML
Brian
> Hi,
>
[quoted text clipped - 26 lines]
>
> Rodrigo.