Sponsored Content
Full Discussion: Books on Shell Scripting
Top Forums Shell Programming and Scripting Books on Shell Scripting Post 27208 by Naaou on Wednesday 28th of August 2002 04:11:50 PM
Old 08-28-2002
Books on Shell Scripting

Does anyone know of some good books on shell scripting. Any and all help is greatly apprieciated.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Books for Unix Scripting

Hi, I'm in a second year unix course at school, and we are really starting to get into the scripting aspect of it. I already own the "Unix in a Nutshell - O'Reilly", and the "Unix - Peachpit Press" books but these book really don't go into too much detail about scripting. So I was wondering if... (3 Replies)
Discussion started by: Astudent
3 Replies

2. Shell Programming and Scripting

Books on Shell programmin

Can Anyone suggest few good books on Unix Shell Programming and C on Unix. Thanks Prasad (5 Replies)
Discussion started by: pswar70
5 Replies

3. Shell Programming and Scripting

Good books on Shell Scripting

All, I am new to shell scripting. Can you guys suggest me some good books/online tutorials for shell scripting(KSH/BASH)? Thanks in advance. Janardhan. (1 Reply)
Discussion started by: raok1997
1 Replies

4. Shell Programming and Scripting

Help for good books in Shell Scripting

Hi, I am knew to Shell Scripting. Can someone please tell me some good books for Shell Scripting which explains in a very simple language and covers all the topics nicely. Thanks, Shubh. (3 Replies)
Discussion started by: shubhranshu
3 Replies

5. Shell Programming and Scripting

i need books (programming shell)

hello.... iam need more books about programming shell by c & c++ ... please iam need it now thank you:) (2 Replies)
Discussion started by: osamasam
2 Replies

6. Shell Programming and Scripting

Suggested Books for Learning Shell scripting

Hi, I had completed RHCE and i am interested to learn shell scripting. Request you to please let me know which book is best for learning shell scripting or any online website. Thanks & Regards arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

7. Shell Programming and Scripting

shell books recommend

Now i'm reading <Advanced Bash scripting Guide> and that book lists too many examples and show little explanations.That makes me feel confused.Do any1 has some better book recommend to me about Bash? (4 Replies)
Discussion started by: homeboy
4 Replies

8. Shell Programming and Scripting

Best books for shell scripting

hello all, Could you point me to the best book to start shell scripting. thanks (3 Replies)
Discussion started by: acdc
3 Replies

9. Ubuntu

best books to begin shell scripting in ubuntu

pleas suggest free e books to begin Bash scripting in ubuntu..... (2 Replies)
Discussion started by: vyom
2 Replies

10. Shell Programming and Scripting

Books to learn UNIX Scripting from Scratch

Hi All, I am quite new to UNIX Scripting and want to learn it from scratch, a book which gives lot of examples, how to troubleshoot, how to run etc.. would be great. Need help from all the experts out there to suggest one book to start with. Regards, Vikas (4 Replies)
Discussion started by: vikas_chengdu
4 Replies
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)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy