Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tidynode(3) [php man page]

TIDYNODE(3)								 1							       TIDYNODE(3)

The tidyNode class

INTRODUCTION
An HTML node in an HTML file, as detected by tidy. CLASS SYNOPSIS
tidyNode tidyNode Properties o string$value o string$name o int$type o int$line o int$column o bool$proprietary o int$id o array$attribute o array$child Methods o tidyNode tidyNode::getParent (void ) o bool tidyNode::hasChildren (void ) o bool tidyNode::hasSiblings (void ) o bool tidyNode::isAsp (void ) o bool tidyNode::isComment (void ) o bool tidyNode::isHtml (void ) o bool tidyNode::isJste (void ) o bool tidyNode::isPhp (void ) o bool tidyNode::isText (void ) PROPERTIES
o $value -The HTML representation of the node, including the surrounding tags. o $name -The name of the HTML node o $type -The type of the tag (one of the constants above, e.g. TIDY_NODETYPE_PHP) o $line -The line number at which the tags is located in the file o $column -The column number at which the tags is located in the file o $proprietary -Indicates if the node is a proprietary tag o $id -The ID of the tag (one of the constants above, e.g. TIDY_TAG_FRAME) o $attribute - An array of string, representing the attributes names (as keys) of the current node. o $child - An array of tidyNode, representing the children of the current node. +--------+--------------------------------------------+ |Version | | | | | | | Description | | | | +--------+--------------------------------------------+ | 5.1.0 | | | | | | | $line, $column and $proprietary were added | | | | +--------+--------------------------------------------+ PHP Documentation Group TIDYNODE(3)

Check Out this Related Man Page

DOMDOCUMENTFRAGMENT(3)							 1						    DOMDOCUMENTFRAGMENT(3)

The DOMDocumentFragment class

CLASS SYNOPSIS
DOMDocumentFragment DOMDocumentFragmentextends DOMNode Properties Methods o public bool DOMDocumentFragment::appendXML (string $data) Inherited methods o public DOMNode DOMNode::appendChild (DOMNode $newnode) o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes]) o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes]) o public DOMNode DOMNode::cloneNode ([bool $deep]) o public int DOMNode::getLineNo (void ) o public string DOMNode::getNodePath (void ) o public bool DOMNode::hasAttributes (void ) o public bool DOMNode::hasChildNodes (void ) o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode]) o public bool DOMNode::isDefaultNamespace (string $namespaceURI) o public bool DOMNode::isSameNode (DOMNode $node) o public bool DOMNode::isSupported (string $feature, string $version) o public string DOMNode::lookupNamespaceURI (string $prefix) o public string DOMNode::lookupPrefix (string $namespaceURI) o public void DOMNode::normalize (void ) o public DOMNode DOMNode::removeChild (DOMNode $oldnode) o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode) PHP Documentation Group DOMDOCUMENTFRAGMENT(3)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

matching each line in a column to an array

Hi, I have two files: file 1 has a list : ABC_1024 ABC_4507 ABC_5589 ERT_4389 DDB_5507 file 2 has an array: ABC_1011,ABC_1024,ABC_5670 DDB_4567 ERT_2345 January08 ABC_9099 DDB_9087 ERT_4567 March07 I need to go line by line in file 1... (2 Replies)
Discussion started by: greptastic
2 Replies

2. Shell Programming and Scripting

Finding a string inside A Tag

I have umpteen number of files containing HTML A tags in the below format or I want to find all the lines that contain the word Login= I used this command grep "Login=" * This gave me normal lines as well which contain the word Login= for example, it returned lines which... (2 Replies)
Discussion started by: dahlia84
2 Replies

3. Shell Programming and Scripting

Replace several numbers with respective tag and make a single file

Dear All, I have a final output files as 736645|0| 13879|1| 495563|10| 127933|14| 4975|16| 49038|6| 53560|7| 135115|8| 178857|9| Now I want to replace second column with respective tag as per the value (4 Replies)
Discussion started by: jojo123
4 Replies

4. Shell Programming and Scripting

search a string in a particular column of file and return the line number of the line

Hi All, Can you please guide me to search a string in a particular column of file and return the line number of the line where it was found using awk. As an example : abc.txt 7000,john,2,1,0,1,6 7001,elen,2,2,0,1,7 7002,sami,2,3,0,1,6 7003,mike,1,4,0,2,1 8001,nike,1,5,0,1,8... (3 Replies)
Discussion started by: arunshankar.c
3 Replies

5. UNIX and Linux Applications

JBoss: Difference Standard / proprietary deployment discriptor

can anyone please tell me what is the difference btwn a standard deployment discriptor and a proprietary one???:wall: (3 Replies)
Discussion started by: htshshrm2
3 Replies

6. Shell Programming and Scripting

Transfer output of a proprietary command to a file

Hi Guys, My problem looks simple. I have a software-proprietary command (not linux) that provides an output, let's say 200 lines. Unfortunately the dumb coders of the software did not include the option ">" or ">>" which allows to transfer output to a file, so I need a way to do that using some... (5 Replies)
Discussion started by: liviusbr
5 Replies

7. UNIX for Dummies Questions & Answers

Date column validation in files

HI, i have to do some file validations on which i am receving daily.could any one please let me know how we can able to do validations on below scenarios 1) On Date column Ex If i am receving date in format of YYYYMMDD---- 20141118 --- here i have to check the date value 20141142 if the... (7 Replies)
Discussion started by: bhaskar v
7 Replies

8. Shell Programming and Scripting

Divide the value of the column if not NULL.

File 1 --------- N_ACCT,CARD_TYPE,CARD_BAL,CUST_CODE --------------------------------------------------- 0301,38,0.00,10 0319,38,54422.92,10 0392,38,0.00,10 0418,38,35254.87,10 0442,38,0.00,10 0491,38,0.00,10 0558,38,45988.76,10 0616,38,0.00,10 0665,38,0.00,10 0699,38,0.00,10 File 2... (3 Replies)
Discussion started by: suresh_target
3 Replies

9. UNIX for Beginners Questions & Answers

Help with moving list of data to 2nd column of HTML file

Hi Team, Can you help me with writing shell script to printing the list output to 2nd column in HTML file. (2 Replies)
Discussion started by: veereshshenoy
2 Replies

10. UNIX for Beginners Questions & Answers

Displaying every other line in an array.

Hi, I have an array, that works well. But, I want to have it display every other line. Like so, 1, 3, 5, 7, etc, etc. Here is the relevant code: I'm sorry for the pastebin link. For some reason, I can't get the code to format properly with the code tags. code tags work fine... everyone... (4 Replies)
Discussion started by: ignatius
4 Replies