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 attributeSYNOPSIS
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)
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)
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)
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)
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)
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 • Japan • Korea • Mexico • Singapore • Spain" type="photograph" orient="portrait"/></image>
... (5 Replies)
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)
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)
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)
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)
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)
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)
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)
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)