07-13-2006
do you know good solaris 10 system admin e-book. for beginners like me
that we can download freely?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone here have a favorite? I just wanted to find a reliable book which is meaty in content and still easily understandable.. (3 Replies)
Discussion started by: mandarin14
3 Replies
2. UNIX for Dummies Questions & Answers
Due to my new job I need to learn Unix to advance in the company and I am mainly a windows and mac user. What is a good book to get me started on the right path and hopefully prevent me from wasting money on several books and weeks of reading. Any response is welcomed thanks in advance. (3 Replies)
Discussion started by: windowsux
3 Replies
3. UNIX for Dummies Questions & Answers
OK Guys!
I need a top of the line unix system administration book for newbies! help!
thanks (1 Reply)
Discussion started by: disturbe_d
1 Replies
4. Shell Programming and Scripting
Dear Friend,
please let me know the good book of the unix shell...
have a great day
uday naikwadi
9960496522 (2 Replies)
Discussion started by: udayn
2 Replies
5. Shell Programming and Scripting
can some one tell me the name of the book or some use full link for a unix commands(advanced) (3 Replies)
Discussion started by: alokjyotibal
3 Replies
6. UNIX for Dummies Questions & Answers
I'm learning about Unix on my mac through the terminal application. I like it quite a bit. I'm finishing the chapter on Unix from my Mac OS X the missing manual, and it's whetted my appetite. Can anyone recommend a good book on beginning Unix (starting at beginner to intermediate). I'd like... (1 Reply)
Discussion started by: Straitsfan
1 Replies
7. UNIX for Dummies Questions & Answers
Hi! To begin with, I know there is a dedicated sub-forum for this, but I'm not able to create a new thread there, and I'm not able to find anything in the threads already there to suit my needs either.
This being said, I'm currently using Mac OS X Leopard, which is a great operating system, but... (5 Replies)
Discussion started by: cezar.elnazli
5 Replies
8. UNIX and Linux Applications
Hi
I am searching for introduction to Jboss for admins book. I will administrate an application which runs inside Jboss. I have no Java and J2EE development experience. That means for dummies :wall:
Amazon search gets to many hits:
http://i.imgur.com/tCayW.png
What do you recommend me?... (0 Replies)
Discussion started by: slashdotweenie
0 Replies
9. UNIX for Dummies Questions & Answers
Please suggest me few good books on Unix. I have currently purchased Unix Power Tools. (2 Replies)
Discussion started by: prashdeep
2 Replies
10. UNIX for Dummies Questions & Answers
I am a beginner and have recently started to study unix. I checked some of the posts on this forum just to check if a new member like me can easily be guided and found it very interesting. This seems like a great place where i can get answer to my doubts and questions.
I checked the thread for... (1 Reply)
Discussion started by: kaal
1 Replies
LEARN ABOUT PHP
domdocument.getelementbyid
DOMDOCUMENT.GETELEMENTBYID(3) 1 DOMDOCUMENT.GETELEMENTBYID(3)
DOMDocument::getElementById - Searches for an element with a certain id
SYNOPSIS
public DOMElement DOMDocument::getElementById (string $elementId)
DESCRIPTION
This function is similar to "DOMDocument::getElementsByTagName" but searches for an element with a given id.
For this function to work, you will need either to set some ID attributes with "DOMElement::setIdAttribute" or a DTD which defines an
attribute to be of type ID. In the later case, you will need to validate your document with "DOMDocument::validate" or DOMDocument::$vali-
dateOnParse before using this function.
PARAMETERS
o $elementId
- The unique id value for an element.
RETURN VALUES
Returns the DOMElement or NULL if the element is not found.
EXAMPLES
Example #1
DOMDocument::getElementById() Example
The following examples use book.xml which contains the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE books [
<!ELEMENT books (book+)>
<!ELEMENT book (title, author+, xhtml:blurb?)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT blurb (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ATTLIST books xmlns CDATA #IMPLIED>
<!ATTLIST books xmlns:xhtml CDATA #IMPLIED>
<!ATTLIST book id ID #IMPLIED>
<!ATTLIST author email CDATA #IMPLIED>
]>
<?xml-stylesheet type="text/xsl" href="style.xsl"?>
<books xmlns="http://books.php/" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<book id="php-basics">
<title>PHP Basics</title>
<author email="jim.smith@basics.php">Jim Smith</author>
<author email="jane.smith@basics.php">Jane Smith</author>
<xhtml:blurb><![CDATA[
<p><em>PHP Basics</em> provides an introduction to PHP.</p>
]]></xhtml:blurb>
</book>
<book id="php-advanced">
<title>PHP Advanced Programming</title>
<author email="jon.doe@advanced.php">Jon Doe</author>
</book>
</books>
<?php
$doc = new DomDocument;
// We need to validate our document before refering to the id
$doc->validateOnParse = true;
$doc->Load('book.xml');
echo "The element whose id is 'php-basics' is: " . $doc->getElementById('php-basics')->tagName . "
";
?>
The above example will output:
The element whose id is 'php-basics' is: book
SEE ALSO
DOMDocument::getElementsByTagName.
PHP Documentation Group DOMDOCUMENT.GETELEMENTBYID(3)