Re: files

2002-02-06 Thread P0R0NG
hi andrea! thank you for your help - it did work. i have some extra problems though. in the code, i replaced nat with a variable (let's call it $section), here's my code snippet: ### start of snippet ### #this is the xml repository where all xml files where residing chdir $repository; # sec

files

2002-02-01 Thread P0R0NG
hi list. supposing i have a directory containing these files: nat_10-full.xml.afp nat_10.xml.afp nat_1-full.xml.afp nat_1.xml.afp nat_2-full.xml nat_2.xml nat_3-full.xml nat_3.xml nat_4-full.xml nat_4.xml nat_5-full.xml nat_5.xml nat_6-full.xml

Re: PERL and XML Parser

2002-02-01 Thread P0R0NG
tr\n"; } } On Fri, 1 Feb 2002 10:27:37 -0500 "Hanson, Robert" <[EMAIL PROTECTED]> wrote: |By the way, there were a lot of XML errors in that example. | | | |You need an attribute name, this is not legal. | |Alice in Chains | |The closing tag does not match the opening ta

Re: PERL and XML Parser

2002-02-01 Thread P0R0NG
On Fri, 1 Feb 2002 21:04:54 +0800 P0R0NG <[EMAIL PROTECTED]> wrote: |how can i get the PCDATA for the element "owner"? i want to get just |the "owner" elements and the content of the "owner." | |i've created a code that will trap for the start and end

PERL and XML Parser

2002-02-01 Thread P0R0NG
Hi list. I'm currently doing a perl project involving XML parser. given this xml snippet: Percy Alice in Chains The Pixies Bob Marley Peter Tosh how can i get the PCDATA for the element "owner"? i want to get just the "owner" elements and the content of the