Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Browsers / Internet Explorer / October 2003



Tip: Looking for answers? Try searching our database.

right function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rodrigo - 28 Oct 2003 17:29 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.