Need to output "String id" as "Numeric value" in different places using a loop
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Need to output "String id" as "Numeric value" in different places using a loop

From: <jain_tj@rediffmail.com>
Date: Fri Mar 31 2006 - 12:36:04 CEST

Could anyone please help me with the following problem

My xml file is
==============
<fig id="F0000001">
<caption>Caption text</caption>
<image id="I0000001" image.class="halftone" image.type="jpg" print="0"
width="29-6" depth="23-6" pointer="I0000001.jpg"/>
</fig>

I need my output in IE Browser using Javascript as follows (need it in
a loop, as I need to print in different places)

fig id output
======== ========
F0000001 1
F0000021 21
S0000001 1
S0000021 21
Received on Mon May 1 04:33:49 2006