>>>>> "Bj" == Bj <[EMAIL PROTECTED]> writes:
Bj> Its in reference to my last question. I was looking at xlstand xpath, Bj> but I think I have the same problem I am having with xml simple. I Bj> dont know the path names in advance or how many nodes I have,a nd I Bj> need to take teh union of all nodes of all files in a directory before Bj> outputting. I was thinking that if I took the array of keys of the 1st Bj> subheadings in an xml file(in my example it would be the array of Bj> "required data, dm, worksheet data") and then turned each of those Bj> names into an array of the same name, I could loop over the keys array Bj> and use the new arrays as my placeholders for my union. basically, the Bj> program finds 3 headings a,b,c. It creates an array keys(a,b,c) and Bj> @a, @b,@c. perldoc perlref perldoc perlreftut Learn about references. They will help you here. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>