That's what I use. I have some sample code of how to use it if you would
like.

-----Original Message-----
From: Philip Morley [mailto:PMorley@;edisonmission.com]
Sent: Wednesday, October 30, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: Help using XML::Parser


I am new to using XML, so can someone please help me out.

Suffice to say, in my perl script a scalar variable gets set with a valid
XML string.  For example, let's say:

<Family>
   <FamilySurname>Flintstone</FamilySurname>
      <Members>
         <MemberName>Fred</MemberName>
         <MemberRole>Father</MemberRole>
      </Members>
   </FamilySurname>
</Family>

I could carry on with this example, but hopefully you get the drift.

There will be repetitions in the XML document.  For example there will be
other Members nested in the FaimilySurname group.

What I want to do be able to extract the fields from the document
(Flintstone, Father, Fred, etc).  Is XML::Parser the right module to use?
Any general pointers would be much appreciated.  Any code snippets as well.

Thanks, Phil.




_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to