On Tuesday, July 8, 2003, 6:52:56 PM, carlos wrote:

cc> But them how i can look for the tag i need if i have the file in an
cc> array, i need to read an xml file and extract the info between tags
cc> <password xxxxx> and </password>.....

Well, I wish you would have said that earlier. Parsing XML files is
different than parsing text (or other files).

PHP has XML parsing built-in thanks to expat. More information on XML
support in PHP is at http://www.php.net/xml

I have written a tutorial at my website
<plug>http://www.meidomus.com/archives/000075.php</plug> that shows an example of 
parsing
XML files in PHP. It does not use the XMLDOM extension. It might be of
help to you.

-- 
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to