9 More Discussions You Might Find Interesting
1. Red Hat
I want the pdfs of course official red hat Rhce.
Thanks. (1 Reply)
Discussion started by: Ultralord
1 Replies
2. Red Hat
Hi,
Can any one provide me the details of RHCE certification like Course details, exam pattern, topics to study. I am planning to take up exam next month so i want to prepare for it.
Thanks (1 Reply)
Discussion started by: chetansingh23
1 Replies
3. Red Hat
I'd like to get RHCE certification but I can't find the books which get me for doing such , could someone guide me where can i find the books ?:wall: (4 Replies)
Discussion started by: arm
4 Replies
4. Red Hat
Hi ,
Kindly I wonder whether have any idea about the difference between RedHat & Centos operating systems ? I totally know that Centos is a derivative of Redhat but I'm talking about the similarity in terms of administration ( are the commands same?) for instance If someone had installed Centos... (2 Replies)
Discussion started by: arm
2 Replies
5. Red Hat
Hi All,
I am planing to take RHCE exam in the month of March 2012. Could anyone provide me with the latest dumps and pattern which can help me in clearing the certification exam.
Thanks (1 Reply)
Discussion started by: chetansingh23
1 Replies
6. Red Hat
guys I am preparing for rhce 6.Is there anyone rhce here who can give me tips to prepare for rhce.which books should i use (1 Reply)
Discussion started by: shamapraveen
1 Replies
7. Linux
Does anyone here who is an RHCE already? Do you have tutorials for this? (0 Replies)
Discussion started by: invinzin21
0 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Does anyone have RHCE Exam Sample or Practice Papers ??
I am planning to give it asap.
Pls help.
Thanks n Regards,
Vikas (1 Reply)
Discussion started by: vikas027
1 Replies
9. Solaris
dear solaris group,
whitch are the best book for study admin 1 + 2 on solaris 9
to prepare for the exam of admin 1 & 2
best regards
Maurizio (2 Replies)
Discussion started by: mauric
2 Replies
SIMPLEXML_IMPORT_DOM(3) 1 SIMPLEXML_IMPORT_DOM(3)
simplexml_import_dom - Get a SimpleXMLElementobject from a DOM node.
SYNOPSIS
SimpleXMLElement simplexml_import_dom (DOMNode $node, [string $class_name = "SimpleXMLElement"])
DESCRIPTION
This function takes a node of a DOM document and makes it into a SimpleXML node. This new object can then be used as a native SimpleXML
element.
PARAMETERS
o $node
- A DOM Element node
o $class_name
- You may use this optional parameter so that simplexml_import_dom(3) will return an object of the specified class. That class
should extend the SimpleXMLElement class.
RETURN VALUES
Returns a SimpleXMLElement or FALSE on failure.
Warning
This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE. Please read the section on
Booleans for more information. Use the === operator for testing the return value of this function.
EXAMPLES
Example #1
Importing DOM
<?php
$dom = new DOMDocument;
$dom->loadXML('<books><book><title>blah</title></book></books>');
if (!$dom) {
echo 'Error while parsing the document';
exit;
}
$s = simplexml_import_dom($dom);
echo $s->book[0]->title;
?>
The above example will output:
blah
SEE ALSO
dom_import_simplexml(3), "Basic SimpleXML usage".
PHP Documentation Group SIMPLEXML_IMPORT_DOM(3)