I am beginning on how to work with xml, but i need some prelim help. let us
say i have an XML file as follows:

---------------
    <Book>
        <Author>Jonathan Swift</Author>
        <Name>Gulliver's Travels</Name>
    </Book>

    <Book>
        <Author>Agatha Christie</Author>
        <Name>Murder on 57</Name>
    </Book>
---------------

I want to know if PHP supports the following to do with the above file:

    - How to list the above information on a HTML page (I mean
      using PHP of course) - in tables.Which functions should
      I use, EXPAT functions or DOM functions? (Whats the
      difference?)

    - What if I need to search through a XML file? How would
      I go about doing it - recommended way?

    - What if I needed to add a new tag to all the BOOKS in the
      XML file. For instance,


        <Isbn>2390737-380973</Isbn>

      How would I do this for all the books in my XML file?



I'd appreciate any help! Thanks!

Erick.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.230 / Virus Database: 111 - Release Date: 25-Jan-01



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to