02-08-2008
The best and in my opinion only real way to learn it to get hold of one or more machines that you can reinstall ( break ) modify and do whatever you want with. The only way to learn is hands-on.
As for books, I honeslty don't believe there is any good step-by-step book out there. Personally I would suggest you take the Solaris install and admin docs and go through the various tasks in those.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
Posting first time-really liked the site..but may be this has been asked before also-can someone tell me or may be give me the link what exactly I need to download from Sun inorder to learn the Solaris8 operating system. I have the books but still would like to see the environment and... (3 Replies)
Discussion started by: sushmabedi
3 Replies
2. Solaris
I'm new to Solaris. Please let me know, where can i find good, explaining and easy learning tutorials in web.
Thanks in Advance (2 Replies)
Discussion started by: moorthy123
2 Replies
3. Solaris
Ok I a n00b, not gunna hide it so here goes -
Sun Solaris, V.10 i386 - during the setup, I can choose a screen resolution that looks great with 65k colors and all. However, when all is said and done 4 disks and a reboot later, I get hanious 640x480 @ 256 only.
If I choose the Sun Java Desktop... (20 Replies)
Discussion started by: Spooky
20 Replies
4. Solaris
This is my site and i hope it is useful for unix beginner
http://www.learning-solaris.com (0 Replies)
Discussion started by: hoanginlove81
0 Replies
5. UNIX for Dummies Questions & Answers
Hey there,
I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies
6. Solaris
I am new to Sun.
I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor?
Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies
7. Solaris
Is possible to learn Solaris 10 from guides for Solaris 9 (3 Replies)
Discussion started by: microbot
3 Replies
8. Solaris
Hi all,
If you are interested on taking Sun microsystems training from Java to business skills , if so drop by SAI program it's free for students and Educational Institutions (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies
9. Solaris
Hi all,
Those links might help anyone
Knowledge base
Video tutorials (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies
10. Solaris
Hello, Im fairly new to the UNIX world. Although I have taken Linux admin classes, it's not enough compared on what you do at your job. I just got a new job and they want me to learn Solaris, I got some good books and I started to read, I run the commands and try to follow some basics examples.... (7 Replies)
Discussion started by: sanz.rigo
7 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)