Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate an array from an xml file using XSL

Status
Not open for further replies.

CassidyHunt

IS-IT--Management
Jan 7, 2004
688
US
I have a XSL file that transalte a document that I have in ASP.net. I would like to provide a client side filter for the data using javascript. To do this I have setup an array for each object. I am trying to populate that array as the transform happens. Problem I am having is that it doesn't give me the XML values because I am in the script. How do I get around this?

XSL file code
Code:
<script>
  ar[item] = new job("{RESOURCE_ID}","{JOB_ID}");
</script>

The above is what prints. I would like to be able to make it populate it with the xml nodes when the page loads.

Thanks for the help.

Cassidy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top