This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Desperately need help with array
- To: <xsl-list at mulberrytech dot com>
- Subject: Desperately need help with array
- From: "Thuy Do" <thuy at concord dot com dot au>
- Date: Fri, 28 Jul 2000 11:42:15 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
Hi all,
I got this xml:
......
<title>the key to your success</title>
<author>Jill Bond</author>
<title>all about frogs</title>
<author>Frogs</author>
.
.
.
what I like to do is to have an array for <title> and an array for <author>
in my Javascript
like this:
<script language="javascript">
title_array : new Array("the key to your success", "all about frogs")
author_array : new Array("Jill Bond", "Frogs")
.
//I am using these arrays on some functions
.
</script>
could anyone please help me with this? Please please please...
much appreciated,
Thuy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list