Sponsored Content
Top Forums Programming Which C++ book do you recommend? Post 302637769 by duma on Wednesday 9th of May 2012 09:39:43 AM
Old 05-09-2012
C++: The Complete Reference, 4th Edition , one of the best book about C++
 

10 More Discussions You Might Find Interesting

1. IP Networking

Please recommend me a Book

I have a SCO OpenServer 5 and I'll like to know about a Very good Book for Unix Networking that can help me with this server or any good book about Unix Networking. Thanks! (2 Replies)
Discussion started by: SuPeRbYtE
2 Replies

2. Programming

Recommend Books

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

3. Solaris

recommend a terminal concentrator

I remember in the past we had those nifty little nortel boxes for remote console terminal concentrators where you can telnet to them and select port and it will be as though you sitting infront of the server console. I can't seem to find any of those now. :confused: I want something that when... (6 Replies)
Discussion started by: sparcguy
6 Replies

4. UNIX and Linux Applications

What Database engine would you recommend?

Thank you for choosing this thread to read. I am about to develop a heavy set financial system. My client wants to build his own in-house. Due to my LAMP/BSD mind set, I know MySQL, but no other database (never got the chance to see others). I do not know if MySQL can handle 2000 to 5000 records... (3 Replies)
Discussion started by: sad_angle
3 Replies

5. Shell Programming and Scripting

Can anyone recommend a book for perl WIN32

Is there a book available that goes into the PERL WIN32 module in depth ? I like the Unix in a nutshell or Perl Black Book by Holzner way of teaching. Teach by example. Anyone ? Thanks Popeye, Olive and sweetpea :p (1 Reply)
Discussion started by: popeye
1 Replies

6. UNIX for Dummies Questions & Answers

Pls recommend a telnet session

hi guys, currently i'm using putty and hyper terminal in my telnet session mostly on hp servers. problem is when im trying to use putty to connect with the mp console im unable to connect because im using a usb-to-serial cable & putty only configured to com1. reason for this is i want to save... (2 Replies)
Discussion started by: gob23g
2 Replies

7. Shell Programming and Scripting

recommend book for unix command/ shell scripting

Hi, i wish to learn unix commands and shell scripting. platform is solaris. but i am focused more on handy unix commands than system administration. which books do you recommend? (1 Reply)
Discussion started by: nurulamin862
1 Replies

8. UNIX for Dummies Questions & Answers

Please recommend a good Unix or Linux book

I looking to broaden my knowledge in Unix/Linux. I have taken some basic classes in the past and tinkered a little with operating system at home.. What i am looking for is if someone could suggest a good book or class or both to help out. Looking at getting a Unix or Linux Certification. I work... (7 Replies)
Discussion started by: harlemi
7 Replies

9. 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

10. UNIX for Advanced & Expert Users

I need a recent book about CUPS - can someone recommend me one?

Hello all :) since cups 2.2.7 on Ubuntu 18.04 some (not) nice things changed, i would prefer a book for CUPS. Can someone recommend me one? I searched for, but find only very very old books, over 10 years old. If possible I am also satisfied with a good and understandable documentation... (2 Replies)
Discussion started by: darktux
2 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 10:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy