11-15-2006
Please search the site before asking common questions:
go here for the suggestions of reading material.
9 More Discussions You Might Find Interesting
1. New to Unix. Which books should I read?
I wanted to add this to the FAQ section on which UNIX books should be read, but the thread is closed. One of my all time favorites is now available for free download, "UNIX Text Processing":
http://www.oreilly.com/openbook/utp/
It discusses many fundemental questions that I often see posted... (0 Replies)
Discussion started by: kduffin
0 Replies
2. UNIX for Dummies Questions & Answers
hey,
i am a pretty good linux/unix user but i would like to discover the full capabilities of linux/unix. i have "unix unleashed , by sams" any other books/websites reccomendations. thanks (2 Replies)
Discussion started by: hamza11050
2 Replies
3. UNIX for Dummies Questions & Answers
Hi everybody,
Can anyone suggest me some good books on Linux Prog.. I know richard stevens is always there.. But any specific books on Linux Porgramming and Networking in Linux.. Wud be of great help if anybody replies.. (4 Replies)
Discussion started by: srikumar_cs
4 Replies
4. Fedora
Not totally new to Linux. Have done distro installs before. At this point, I'm looking for a way out of the MS lock down I've been in. Looking for a good beginner/intermediate book. One that will cover things such as server installs as well as things like X-Windows/SAMBA installs from CLI. What I... (2 Replies)
Discussion started by: jcayo11
2 Replies
5. Red Hat
Hi All,
What books do you recomend to have for quick reference in regarding to Linux administration and performance monitoring?
Thanks for your insight. (2 Replies)
Discussion started by: Beginer0705
2 Replies
6. What is on Your Mind?
I bought a Sony PRS-650 Reader to read books and I'm loving it.
For one thing, there are zillions of free books in epub format available for download for free. Many of them are out of print, so you would have to pay a high price to get a printed copy. Most current releases have to be paid for,... (15 Replies)
Discussion started by: KenJackson
15 Replies
7. UNIX for Dummies Questions & Answers
Hi,
When I use "read" to parse the sftp command sent via ptty, I ran into a very mysterious case below:
---
In Unix, the command ‘quit' is lost.
===
Fri 13Apr12 15:42:47GMT-sftp_send_command: SENT
Fri 13Apr12 15:42:47GMT-sftp_read_resp_line: Parse buffer=quit^M --> Command sent correctly... (2 Replies)
Discussion started by: HgHK
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I would like to become Linux/Unix administrator. Of course I am aware that it is practically impossible to get that job immediately and in the beginning it will be Junior position or 2nd level of technical support.
But I would like to ask: how in-depth knowledge about daemons such like... (2 Replies)
Discussion started by: DavidMax
2 Replies
9. What is on Your Mind?
Time for a new poll. Just wondering how members in this forum prefer to read books.
Paper
E-reader
Tablet
Laptop/Desktop
Smartphone
Audiobook
Not much of a reader
Other
A poll is added. If you select option: Other, please specify what it is. :b: (14 Replies)
Discussion started by: Yoda
14 Replies
LEARN ABOUT PHP
simplexml_import_dom
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)