Re: Really simple XML question



On Fri, 2006-31-03 at 09:39 -0500, Dave Adams wrote:
How do I print the value of 'Time Magazine'?

What do you mean by 'value'? I see no element <value > or even <VALUE >
and no attribute with those names.


Here is my file (ejournlist.xml):

<?xml version='1.0'?>
<EJOURNLIST>
<EJOURN>
<TI>Africa Confidential</TI>
<ISSUE>Vol. 1, no.1</ISSUE>
<FILEFORMAT>PDFformat</FILEFORMAT>
</EJOURN>
<EJOURN>
<TI>Time Magazine</TI>
<ISSUE>Vol. 1, no.1</ISSUE>
<FILEFORMAT>TXTformat</FILEFORMAT>
</EJOURN>
</EJOURNLIST>


--
__END__

Just my 0.00000002 million dollars worth,
--- Shawn

"For the things we have to learn before we can do them,
we learn by doing them."
Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/



.



Relevant Pages

  • Re: beginner help
    ... Just my 0.00000002 million dollars worth, ... Aristotle ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: store Array in hash ?
    ... Be aware that these two statements do a top-level copy of @data: ... Just my 0.00000002 million dollars worth, ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: UTF-8
    ... Just my 0.00000002 million dollars worth, ... Aristotle ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: generate list in increments of 10s
    ... Just my 0.00000002 million dollars worth, ... Aristotle ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)
  • Re: scoping problem with hash
    ... print STDERR Dumper(\%times); ... Just my 0.00000002 million dollars worth, ... Perl tutorials at http://perlmonks.org/?node=Tutorials ... A searchable perldoc is at http://perldoc.perl.org/ ...
    (perl.beginners)