I have seen a PHP code like this

==============================
        $xml = simplexml_load_file($request);

         // items
        $Base = $xml->Items->Item;
==============================

I want to try it in Perl.
Is there an equivalent to the simplexml_load_file() function?


Additional info - In:  http://il.php.net/simplexml_load_file
I see this:

============================
simplexml_load_file

(PHP 5)

simplexml_load_file — Interprets an XML file into an object
Description
object simplexml_load_file ( string $filename [, string $class_name [,
int $options [, string $ns [, bool $is_prefix ]]]] )

Convert the well-formed XML document in the given file to an object.

....
[See more on   http://il.php.net/simplexml_load_file    ]

============================

Thanks in advance.

--
________________________________
Oren  Maurer
http://www.meorero.org.il
_______________________________
#  =======================|
#  Please avoid sending me Word |
#   or PowerPoint attachments      |
#  =======================|
# See: http://www.gnu.org/philosophy/no-word-attachments.html
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to