Sponsored Content
Full Discussion: A book for sysadmin
Operating Systems AIX A book for sysadmin Post 302887443 by cjcox on Friday 7th of February 2014 02:33:26 PM
Old 02-07-2014
 

7 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Sysadmin Day.

We have Labour day, Secretary Day Etc. But there is another day upcoming, which is System Administrator Day. (System Administrator Appreciation Day Friday - July 26th, 2002) http://www.sysadminday.com/ " Nice to hear that all our hardworks are getting noticed " :cool: (2 Replies)
Discussion started by: killerserv
2 Replies

2. UNIX for Dummies Questions & Answers

Sysadmin LOGIN msgs for all users

Is there a way, as sysadmin, to put out system msgs, ie scheduled downtime, backup info, etc, whenever users log in? (5 Replies)
Discussion started by: kymberm
5 Replies

3. IP Networking

Networking sysadmin/blocking/IM

What's the latest talk about instant messaging services in teh workplace, regarding blocking it, shutting off ports, etc? Is there a forum somewhere for this? Can't you shut down ports on linux or unix for IM services? (1 Reply)
Discussion started by: kymberm
1 Replies

4. UNIX for Dummies Questions & Answers

Parsing Powerbroker Logs for SysAdmin Changes (SOX)

I need to identify a list of AIX command strings that can be used to parse Powerbroker logs for changes that are being made by Unix SysAdmins. Need to filter out (as much as possible) inquiry or routine maintenance activity and concentrate on software/security changes. This is for internal... (1 Reply)
Discussion started by: bcouchtx
1 Replies

5. News, Links, Events and Announcements

Sysadmin Day Meetup in NYC

Hi All, I just joined this forum, and I think its great! I wanted to let you know in honor of Systems Administrator Appreciation Day (which is next Friday, as you probably know), I'm organizing a meetup in New York City to celebrate. I've made a page with more information here: ... (0 Replies)
Discussion started by: MPSimmons
0 Replies

6. What is on Your Mind?

Happy SysAdmin Appreciation Day!

A big Thank You to the admins of unix.com, for keeping the platform of a great community running smoothly and error-free. In case you don't know what I'm talking about: SysAdmin Appreciation Day (5 Replies)
Discussion started by: pludi
5 Replies

7. Solaris

[solved] Group sysadmin missing

Hello all I recently installed a fresh copy of Solaris. I noticed that /etc/passwd does not contain an entry for sysadmin Group #14. Why isnt it there? Other websites state that by default it should be there ! Help! Regards, Junaid ---------- Post updated at 01:04 AM ----------... (1 Reply)
Discussion started by: Junaid Subhani
1 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 11:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy