Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmlwriter_write_element(3) [php man page]

XMLWRITER_WRITE_ELEMENT(3)						 1						XMLWRITER_WRITE_ELEMENT(3)

XMLWriter::writeElement - Write full element tag

       Object oriented style

SYNOPSIS
bool XMLWriter::writeElement (string $name, [string $content]) DESCRIPTION
Procedural style bool xmlwriter_write_element (resource $xmlwriter, string $name, [string $content]) Writes a full element tag. PARAMETERS
o $ xmlwriter -Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xml- writer_open_uri(3) or xmlwriter_open_memory(3). o $name - The element name. o $content - The element contents. RETURN VALUES
Returns TRUE on success or FALSE on failure. CHANGELOG
+--------+------------------------------------------+ |Version | | | | | | | Description | | | | +--------+------------------------------------------+ | 5.2.3 | | | | | | | The $content parameter became optional. | | | | +--------+------------------------------------------+ SEE ALSO
XMLWriter::startElement, XMLWriter::endElement, XMLWriter::writeElementNS. PHP Documentation Group XMLWRITER_WRITE_ELEMENT(3)

Check Out this Related Man Page

RADIUS_PUT_ADDR(3)							 1							RADIUS_PUT_ADDR(3)

radius_put_addr - Attaches an IP address attribute

SYNOPSIS
bool radius_put_addr (resource $radius_handle, int $type, string $addr, [int $options], [int $tag]) DESCRIPTION
Attaches an IP address attribute to the current RADIUS request. Note A request must be created via radius_create_request(3) before this function can be called. PARAMETERS
o $radius_handle -The RADIUS resource. o $type -The attribute type. o $addr - An IPv4 address in string form, such as 10.0.0.1. o $options -A bitmask of the attribute options. The available options include RADIUS_OPTION_TAGGED and RADIUS_OPTION_SALT. o $tag -The attribute tag. This parameter is ignored unless the RADIUS_OPTION_TAGGED option is set. RETURN VALUES
Returns TRUE on success or FALSE on failure. CHANGELOG
+------------------+-----------------------------------------------+ | Version | | | | | | | Description | | | | +------------------+-----------------------------------------------+ |PECL radius 1.3.0 | | | | | | | The $options and $tag parameters were added. | | | | +------------------+-----------------------------------------------+ PHP Documentation Group RADIUS_PUT_ADDR(3)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

searching and editing file contents

Can you please help me to edit parts of a file and write into a new file. ===================================== Suppose I have a huge data dump in a file I need to search for a tag in that and cut few lines around that tag in the file. Is there a way to keep track of line numbers and operate on... (18 Replies)
Discussion started by: jayana
18 Replies

2. Shell Programming and Scripting

adding the content of a file to another file

hi guys, I posted a similar question about reading a file and adding its content to another file and i used sed '/HELLO/r fileB' fileA however this command adds the content of fileB under the word "HELLO" what if i need to add the word above "HELLO". what could i use? Thanks, (6 Replies)
Discussion started by: ROOZ
6 Replies

3. Shell Programming and Scripting

how to find out overlaped content

i have two single column text files a and b. in this two files, there are some overlap content, is there any quick way I can find out those overlapped content? example, file a 1 2 3 4 5 6 file b 2 35 7 8 4 2 and 4 are overlapped in these two files so they should be picked up. (3 Replies)
Discussion started by: fedora
3 Replies

4. Shell Programming and Scripting

How do I search first&second string & copy all content between them to other file?

Hi All, How do I search first string & second string and copy all content between them from one file to another file? Please help me.. Thanks In Advance. Regards, Pankaj (12 Replies)
Discussion started by: pankajp
12 Replies

5. Shell Programming and Scripting

Truncate the content within alt attribute to first 250 characters.

I have a xml file which contains image tag as follows: <image><img src="wstc_0007_0007_0_img0001.jpg" width="351" height="450" alt="This is the cover page. Brazil &#x2022; Japan &#x2022; Korea &#x2022; Mexico &#x2022; Singapore &#x2022; Spain" type="photograph" orient="portrait"/></image> ... (5 Replies)
Discussion started by: parshant_bvcoe
5 Replies

6. Shell Programming and Scripting

appending content in a xml file

Please help me on this..... i have a file which has following content: <IPCoreProducerConfig> <Producer> <config> <key>machineId</key> <value>machine1</value> </config> <config> ... (4 Replies)
Discussion started by: Aditya.Gurgaon
4 Replies

7. Shell Programming and Scripting

Accessing Encrypted content of the xml file

(3 Replies)
Discussion started by: nandumishra
3 Replies

8. Shell Programming and Scripting

Help with Compare and search content in directory

Hello, How to search in directory by comparing some string with the content of directory. Ex: I want to compare abhi string with the content of backup directory. i.e want to check that is there any file in backup directory having name ... (3 Replies)
Discussion started by: AbhijitIT
3 Replies

9. Shell Programming and Scripting

Seperate file content

hi all, i have some file whoes contents are 0 /home8/mc09ats/UnixCw/a1 1 /home8/mc09ats/UnixCw/a2 2 /home8/mc09ats/b3 3 /home8/mc09ats/UnixCw/d1 i want to seperate the content following way... fileindex= 0 filepath=... (4 Replies)
Discussion started by: AbhijitIT
4 Replies

10. Shell Programming and Scripting

Writing content into a file

Hi.. I have some content as Hello how are you? Where are you? i need the above content to be placed in a file called hello.sh So,when i execute a file called hi.sh it should automatically create the file hello.sh and write the above content into it. I know to create a file using touch... (4 Replies)
Discussion started by: krthik
4 Replies

11. Shell Programming and Scripting

copy content of file to another files from certain position

Hello Guys I have a directory of xml files (almost 500 ) Now in each xml file 3 new attributes will be added which are in a different single file Is there any way I can copy the whole content of single file at 6th line of all the files in the directory . Thanks a lot!!! (7 Replies)
Discussion started by: Pratik4891
7 Replies

12. Programming

File content modification

HI All, I have a file with content as below Filename: my name is xyz my name abc my name is bdf end Filename: my name uvx my name edd my name jhn end i want to edit the content and save into another file as Filename1: my name is xyz Filename1: my name abc Filename1: my name is... (4 Replies)
Discussion started by: jhon1257
4 Replies

13. UNIX for Beginners Questions & Answers

Subsitute string in file 1 by line n of file 2

Hello, My OS is Windows 10 and I am using Cygwin. The content of file 1 is: XXX string1 The content of file 2 is 4.156 2.312 3.527 1.687 etc.... I need to replace string 1 in file 1 by the content of line n in file 2. So the expected output is e.g.: XXX 3.527 (for n = 3) I... (14 Replies)
Discussion started by: supernono06
14 Replies

14. UNIX for Beginners Questions & Answers

Copy the content from txt file and create a html file

I have a txt file with a list of error messages in a xml tag format, and each error message is separated with a identifier(endresult).Need to split that and copy and create a new html file.Error message has some special character. how to escape the special character and insert my data into the... (7 Replies)
Discussion started by: DevAakash
7 Replies