One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
backup
/
oldserver
/
2
/
usr
/
local
/
share
/
man
/
man3
/
Edit File:
XML::GDOME::Element.3pm
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "XML::GDOME::Element 3" .TH XML::GDOME::Element 3 "2002-09-15" "perl v5.14.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" .Vb 1 \& XML::GDOME::Element \- Interface Element implementation. .Ve .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 10 \& $str = $el\->getTagName(); \& $str = $el\->getAttribute($name); \& $str = $el\->getAttributeNS($namespaceURI,$localName); \& $attr = $el\->getAttributeNode($name); \& $attr = $el\->getAttributeNodeNS($namespaceURI,$localName); \& $nodeList = $el\->getElementsByTagName($name); \& $nodeList = $el\->getElementsByTagNameNS($namespaceURI,$localName); \& $bool = $el\->hasAttribute($name); \& $bool = $el\->hasAttributeNS($namespaceURI,$localName); \& $el\->removeAttribute($name); \& $el\->removeAttributeNS($namespaceURI,$localName); \& $attr = $el\->removeAttributeNode($oldAttr); \& $el\->setAttribute($name,$value); \& $el\->setAttributeNS($namespaceURI,$qualifiedName,$value); \& $attr = $el\->setAttributeNode($newAttr); \& $attr = $el\->setAttributeNodeNS($newAttr); \& $elem\->appendText($PCDATA); .Ve .SH "CLASS INHERITANCE" .IX Header "CLASS INHERITANCE" XML::GDOME::Node > XML::GDOME::Element .SH "METHODS" .IX Header "METHODS" .ie n .IP "$str = $el\->\fIgetTagName()\fR;" 4 .el .IP "\f(CW$str\fR = \f(CW$el\fR\->\fIgetTagName()\fR;" 4 .IX Item "$str = $el->getTagName();" \&\fIReturns\fR: the qualified name of the element. .ie n .IP "$str = $el\->getAttribute($name);" 4 .el .IP "\f(CW$str\fR = \f(CW$el\fR\->getAttribute($name);" 4 .IX Item "$str = $el->getAttribute($name);" Retrieves an attribute value by name. .Sp \&\fI\f(CI\*(C`name\*(C'\fI\fR: The name of attribute of which the value is wanted .Sp \&\fIReturns\fR: the Attr value as a string, or the empty string if that attribute does not have a specified or default value. .ie n .IP "$str = $el\->getAttributeNS($namespaceURI,$localName);" 4 .el .IP "\f(CW$str\fR = \f(CW$el\fR\->getAttributeNS($namespaceURI,$localName);" 4 .IX Item "$str = $el->getAttributeNS($namespaceURI,$localName);" Retrieves an attribute value by local name and namespace \s-1URI\s0. .Sp \&\fI\f(CI\*(C`namespaceURI\*(C'\fI\fR: The namespaceURI of attribute to retrieve .Sp \&\fI\f(CI\*(C`localName\*(C'\fI\fR: The localName of the attribute to retrieve .Sp \&\fIReturns\fR: the Attr value as a string, or the empty string if that attribute does not have a specified or default value. .ie n .IP "$attr = $el\->getAttributeNode($name);" 4 .el .IP "\f(CW$attr\fR = \f(CW$el\fR\->getAttributeNode($name);" 4 .IX Item "$attr = $el->getAttributeNode($name);" Retrieves an attribute node by name. To retrieve an attribute node by qualified name and namespace \s-1URI\s0, use the \fIgdome_el_getAttributeNodeNS()\fR method. .Sp \&\fI\f(CI\*(C`name\*(C'\fI\fR: The name of the attribute to retreive .Sp \&\fIReturns\fR: the Attr node with the specified \fIname\fR or undef if there is no such attribute. .ie n .IP "$attr = $el\->getAttributeNodeNS($namespaceURI,$localName);" 4 .el .IP "\f(CW$attr\fR = \f(CW$el\fR\->getAttributeNodeNS($namespaceURI,$localName);" 4 .IX Item "$attr = $el->getAttributeNodeNS($namespaceURI,$localName);" Retrieves an Attr node by local name and namespace \s-1URI\s0. .Sp \&\fI\f(CI\*(C`namespaceURI\*(C'\fI\fR: The namespace \s-1URI\s0 of the attribute to retrieve. .Sp \&\fI\f(CI\*(C`localName\*(C'\fI\fR: The local name of the attribute to retrieve. .Sp \&\fIReturns\fR: the Attr node with the specified attribute local name and namespace \s-1URI\s0 or undef if there is no such attribute. .ie n .IP "$nodeList = $el\->getElementsByTagName($name);" 4 .el .IP "\f(CW$nodeList\fR = \f(CW$el\fR\->getElementsByTagName($name);" 4 .IX Item "$nodeList = $el->getElementsByTagName($name);" \&\fI\f(CI\*(C`name\*(C'\fI\fR: The name of the tag to match on. The special value * matches all tags. .Sp \&\fIReturns\fR: a NodeList of all descendant elements with a given tag name, in the order in which they are encountered in a preorder traversal of this Element tree. In array context, returns array. .ie n .IP "$nodeList = $el\->getElementsByTagNameNS($namespaceURI,$localName);" 4 .el .IP "\f(CW$nodeList\fR = \f(CW$el\fR\->getElementsByTagNameNS($namespaceURI,$localName);" 4 .IX Item "$nodeList = $el->getElementsByTagNameNS($namespaceURI,$localName);" \&\fI\f(CI\*(C`namespaceURI\*(C'\fI\fR: The namespace \s-1URI\s0 of the elements to match on. The special value * matches all namespaces. .Sp \&\fI\f(CI\*(C`localName\*(C'\fI\fR: The local name of the elements to match on. The special value * matches all local names. .Sp \&\fIReturns\fR: a NodeList of all the descendant elements with a given local name and namespace \s-1URI\s0 in the order in which they are encountered in a preorder traversal of this Element tree. In array context, returns array. .ie n .IP "$bool = $el\->hasAttribute($name);" 4 .el .IP "\f(CW$bool\fR = \f(CW$el\fR\->hasAttribute($name);" 4 .IX Item "$bool = $el->hasAttribute($name);" \&\fI\f(CI\*(C`name\*(C'\fI\fR: The name of the attribute to look for. .Sp \&\fIReturns\fR: 1 when an attribute with a given name is specified on this element or has a default value, 0 otherwise. .ie n .IP "$bool = $el\->hasAttributeNS($namespaceURI,$localName);" 4 .el .IP "\f(CW$bool\fR = \f(CW$el\fR\->hasAttributeNS($namespaceURI,$localName);" 4 .IX Item "$bool = $el->hasAttributeNS($namespaceURI,$localName);" \&\fI\f(CI\*(C`namespaceURI\*(C'\fI\fR: The namespaceURI of the attribute to look for. .Sp \&\fI\f(CI\*(C`localName\*(C'\fI\fR: The localName of the attribute to look for. .Sp \&\fIReturns\fR: 1 when an attribute with a given local name and namespace \s-1URI\s0 is specified on this element or has a default value, 0 otherwise. .ie n .IP "$el\->removeAttribute($name);" 4 .el .IP "\f(CW$el\fR\->removeAttribute($name);" 4 .IX Item "$el->removeAttribute($name);" Removes an attribute by name. If the removed attribute is known to have a default value, an attribute immediately appears containing the default value as well as the corresponding namespace \s-1URI\s0, local name, and prefix when applicable. To remove an attribute by local name and namespace \s-1URI\s0, use the \fIgdome_el_removeAttributeNS()\fR function. .Sp \&\fI\f(CI\*(C`name\*(C'\fI\fR: The name of the attribute to remove .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .ie n .IP "$el\->removeAttributeNS($namespaceURI,$localName);" 4 .el .IP "\f(CW$el\fR\->removeAttributeNS($namespaceURI,$localName);" 4 .IX Item "$el->removeAttributeNS($namespaceURI,$localName);" Removes an attribute by local name and namespace \s-1URI\s0. If the removed attribute has a default value it is immediately replaced. The replacing attribute has the same namespace \s-1URI\s0 and local name, as well as the original prefix. .Sp \&\fI\f(CI\*(C`namespaceURI\*(C'\fI\fR: The namespaceURI of attribute to remove .Sp \&\fI\f(CI\*(C`localName\*(C'\fI\fR: The localName of the attribute to remove .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .ie n .IP "$attr = $el\->removeAttributeNode($oldAttr);" 4 .el .IP "\f(CW$attr\fR = \f(CW$el\fR\->removeAttributeNode($oldAttr);" 4 .IX Item "$attr = $el->removeAttributeNode($oldAttr);" Removes the specified attribute node. If the removed Attr has a default value it is immediately replaced. The replacing attribute has the same namespace \s-1URI\s0 and local name, as well as the original prefix, when applicable. .Sp \&\fI\f(CI\*(C`oldAttr\*(C'\fI\fR: The Attr node to remove from the attribute list .Sp \&\fIReturns\fR: the Attr node that was removed. .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .Sp \&\f(CW\*(C`GDOME_NOT_FOUND_ERR\*(C'\fR: Raised if \fIoldAttr\fR is not an attribute of the element. .ie n .IP "$el\->setAttribute($name,$value);" 4 .el .IP "\f(CW$el\fR\->setAttribute($name,$value);" 4 .IX Item "$el->setAttribute($name,$value);" Adds a new attribute. If an attribute with that name is already present in the element, its value is changed to be that of the value parameter. .Sp \&\fI\f(CI\*(C`name\*(C'\fI\fR: The name of the attribute to create or alter\fIvalue\fR: Value to set in string form .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .ie n .IP "$el\->setAttributeNS($namespaceURI,$qualifiedName,$value);" 4 .el .IP "\f(CW$el\fR\->setAttributeNS($namespaceURI,$qualifiedName,$value);" 4 .IX Item "$el->setAttributeNS($namespaceURI,$qualifiedName,$value);" Adds a new attribute. If an attribute with the same \fInamespaceURI\fR and localName is already present in the element, its value is changed to be that of the value parameter. .Sp \&\fI\f(CI\*(C`namespaceURI\*(C'\fI\fR: The namespace \s-1URI\s0 of attribute to create or alter .Sp \&\fI\f(CI\*(C`qualifiedName\*(C'\fI\fR: The qualifiedName of the attribute to create or alter\fIvalue\fR: Value to set in string form .Sp \&\f(CW\*(C`GDOME_NAMESPACE_ERR\*(C'\fR: Raised if the \fIqualifiedName\fR is malformed, if the \fIqualifiedName\fR has a prefix and the \fInamespaceURI\fR is undef, if the \fIqualifiedName\fR has a prefix that is \*(L"xml\*(R" and the \fInamespaceURI\fR is different from \*(L"http://www.w3.org/XML/1998/namespace\*(R", or if the \fIqualifiedName\fR is \*(L"xmlns\*(R" and the namespaceURI is different from \*(L"http://www.w3.org/2000/xmlns/\*(R". .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .ie n .IP "$attr = $el\->setAttributeNode($newAttr);" 4 .el .IP "\f(CW$attr\fR = \f(CW$el\fR\->setAttributeNode($newAttr);" 4 .IX Item "$attr = $el->setAttributeNode($newAttr);" Adds a new attribute node. If an attribute with that name is already present in the element, it is replaced by the new one. To add a new attribute node with a qualified name and namespace \s-1URI\s0, use the \fIgdome_el_setAttributeNodeNS()\fR method. .Sp \&\fI\f(CI\*(C`newAttr\*(C'\fI\fR: The Attr node to add to the attribute list .Sp \&\fIReturns\fR: if the \fInewAttr\fR attribute replaces an existing attribute, the replaced Attr node is returned, otherwise undef is returned. .Sp \&\f(CW\*(C`GDOME_INUSE_ATTRIBUTE_ERR\*(C'\fR: Raised if \fInewAttr\fR is already an attribute of another Element object. The \s-1DOM\s0 user must explicitly clone Attr nodes to re-use them in other elements. .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .Sp \&\f(CW\*(C`GDOME_WRONG_DOCUMENT_ERR\*(C'\fR: Raised if \fInewAttr\fR was created from a different document than the one that created the element. .ie n .IP "$attr = $el\->setAttributeNodeNS($newAttr);" 4 .el .IP "\f(CW$attr\fR = \f(CW$el\fR\->setAttributeNodeNS($newAttr);" 4 .IX Item "$attr = $el->setAttributeNodeNS($newAttr);" Adds a new attribute. If an attribute with that local name and that namespace \s-1URI\s0 is already present in the element, it is replaced by the new one. .Sp \&\fI\f(CI\*(C`newAttr\*(C'\fI\fR: The Attr node to add to the attribute list .Sp \&\fIReturns\fR: if the \fInewAttr\fR attribute replaces an existing attribute with the same local name and namespace \s-1URI\s0, the replaced Attr node is returned, otherwise undef is returned. .Sp \&\f(CW\*(C`GDOME_INUSE_ATTRIBUTE_ERR\*(C'\fR: Raised if \fInewAttr\fR is already an attribute of another Element object. The \s-1DOM\s0 user must explicitly clone Attr nodes to re-use them in other elements. .Sp \&\f(CW\*(C`GDOME_NO_MODIFICATION_ALLOWED_ERR\*(C'\fR: Raised if this node is readonly. .Sp \&\f(CW\*(C`GDOME_WRONG_DOCUMENT_ERR\*(C'\fR: Raised if \fInewAttr\fR was created from a different document than the one that created the element. .ie n .IP "$elem\->appendText($PCDATA);" 4 .el .IP "\f(CW$elem\fR\->appendText($PCDATA);" 4 .IX Item "$elem->appendText($PCDATA);" This wrapper function lets you add a string directly to an element node.
Simpan