Hi list.

I'm currently doing a perl project involving XML parser.

given this xml snippet:

<albums>
  <owner>Percy</owner>
  <categories="rock">
    <artist>Alice in Chains</rock>
    <artist>The Pixies</artist>
  </categories>  
  <categories = "reggae">
    <artist>Bob Marley</artist>
    <artist>Peter Tosh</artist>
  </categories>  
</albums>

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 tags of 
the element "owner" as well as the handlers for the characters 
that were part of the markup but no particular handlers.

please help.

thanks.

percy

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to