9 More Discussions You Might Find Interesting
1. AIX
I want to study AIX,who have these e-books?PDF or ppt is better, thanks for sharing!
1、 AIX System Admin
AN10 AIX 6 Basics
AN12 ...
-- shortened -- (1 Reply)
Discussion started by: fringker
1 Replies
2. Red Hat
hi, can any one tell me how can i find RHCSA books , as i try to search online but i didn't found the books (2 Replies)
Discussion started by: linux_land
2 Replies
3. UNIX for Dummies Questions & Answers
Am new to this unix concept..i want to learn unix ..could anyone give link or free e-book to study and understand Unix fundamentals.. (6 Replies)
Discussion started by: Vyra
6 Replies
4. UNIX for Dummies Questions & Answers
hi forum,
i would like to learn Unix by myself and want to have some good knowlege ..is that possible ?which book can i follow?can anyone send me some book links ...
Thanks in advance. (2 Replies)
Discussion started by: Vyra
2 Replies
5. Solaris
I am a beginner about of solaris.
I want to study it,but i don't how to study it.where shoud i go.
So anybody can instruct me,and give me some books or link.
Thanks. (2 Replies)
Discussion started by: bukky
2 Replies
6. UNIX for Dummies Questions & Answers
hi every one ... :)
I'm a new member... I Want resources in Unix
can you give me some Linke for free books (1 Reply)
Discussion started by: newtec
1 Replies
7. Programming
Can anybody recommend a good (& maybe cheap :D ) book for c-prg in HP-UX. I a little rusty & most of expr is in PC world. (1 Reply)
Discussion started by: vslewis
1 Replies
8. UNIX for Dummies Questions & Answers
Not sure if this question is for out here or not - I know very little about PERL. Most of the scripts on the system I am working on now are in PERL, I'm confused with where this fits into Unix scripting - can anyone suggest a good book or resource for learning this. I am to decipher some of the... (3 Replies)
Discussion started by: Barb
3 Replies
9. UNIX for Dummies Questions & Answers
Hi guyes and girls.
I am totaly new to this, so i need some advice on books and such.
What book should i read if im going to get good in Unix?
And if im going to read that book, what OS do i need for my first experience? And where do i get it?
Some other things you folks can post is... (4 Replies)
Discussion started by: Seyedx
4 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)