05-25-2010
I bought a book for £550 the other day.
mind you it was the original edition of the Bible.
He probably meant $40.
anyway OP, the price of a good book is probably one of the best
investments you can make in this business.
9 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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 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
7. 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
8. 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
9. 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
LEARN ABOUT PHP
domdocument.savexml
DOMDOCUMENT.SAVEXML(3) 1 DOMDOCUMENT.SAVEXML(3)
DOMDocument::saveXML - Dumps the internal XML tree back into a string
SYNOPSIS
public string DOMDocument::saveXML ([DOMNode $node], [int $options])
DESCRIPTION
Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in
the example below.
PARAMETERS
o $node
- Use this parameter to output only a specific node without XML declaration rather than the entire document.
o $options
- Additional Options. Currently only LIBXML_NOEMPTYTAG is supported.
RETURN VALUES
Returns the XML, or FALSE if an error occurred.
ERRORS
/EXCEPTIONS
o DOM_WRONG_DOCUMENT_ERR - Raised if $node is from another document.
CHANGELOG
+--------+-------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+-------------------------------+
| 5.1.0 | |
| | |
| | Added the $options parameter |
| | |
+--------+-------------------------------+
EXAMPLES
Example #1
Saving a DOM tree into a string
<?php
$doc = new DOMDocument('1.0');
// we want a nice output
$doc->formatOutput = true;
$root = $doc->createElement('book');
$root = $doc->appendChild($root);
$title = $doc->createElement('title');
$title = $root->appendChild($title);
$text = $doc->createTextNode('This is the title');
$text = $title->appendChild($text);
echo "Saving all the document:
";
echo $doc->saveXML() . "
";
echo "Saving only the title part:
";
echo $doc->saveXML($title);
?>
The above example will output:
Saving all the document:
<?xml version="1.0"?>
<book>
<title>This is the title</title>
</book>
Saving only the title part:
<title>This is the title</title>
SEE ALSO
DOMDocument::save, DOMDocument::load, DOMDocument::loadXML.
PHP Documentation Group DOMDOCUMENT.SAVEXML(3)