$87 GRAYBYTE WORDPRESS FILE MANAGER $37

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/REXML/Element/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/REXML/Element//each_element_with_attribute-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: Element
comment: 
- !ruby/struct:SM::Flow::P 
  body: Iterates through the child elements, yielding for each Element that has a particular attribute set.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "key:"
    body: the name of the attribute to search for
  - !ruby/struct:SM::Flow::LI 
    label: "value:"
    body: the value of the attribute
  - !ruby/struct:SM::Flow::LI 
    label: "max:"
    body: (optional) causes this method to return after yielding for this number of matching children
  - !ruby/struct:SM::Flow::LI 
    label: "name:"
    body: (optional) if supplied, this is an XPath that filters the children to check.
  type: :NOTE
- !ruby/struct:SM::Flow::VERB 
  body: " doc = Document.new "<a><b @id='1'/><c @id='2'/><d @id='1'/><e/></a>"\n # Yields b, c, d\n doc.root.each_element_with_attribute( 'id' ) {|e| p e}\n # Yields b, d\n doc.root.each_element_with_attribute( 'id', '1' ) {|e| p e}\n # Yields b\n doc.root.each_element_with_attribute( 'id', '1', 1 ) {|e| p e}\n # Yields d\n doc.root.each_element_with_attribute( 'id', '1', 0, 'd' ) {|e| p e}\n"
full_name: REXML::Element#each_element_with_attribute
is_singleton: false
name: each_element_with_attribute
params: ( key, value=nil, max=0, name=nil ) {|Element| ...}
visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
__to_xpath_helper-i.yaml
0.196 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add_attribute-i.yaml
1.3 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add_attributes-i.yaml
0.67 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add_element-i.yaml
1.012 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add_namespace-i.yaml
0.96 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add_text-i.yaml
1.003 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
attribute-i.yaml
0.246 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdatas-i.yaml
0.25 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Element.yaml
3.23 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
clone-i.yaml
0.442 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
comments-i.yaml
0.256 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete_attribute-i.yaml
1.066 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete_element-i.yaml
0.913 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete_namespace-i.yaml
0.72 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
document-i.yaml
0.316 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_element-i.yaml
0.283 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_element_with_attribute-i.yaml
1.382 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_element_with_text-i.yaml
1.278 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_with_something-i.yaml
0.36 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
get_elements-i.yaml
0.587 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
get_text-i.yaml
0.657 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
has_attributes%3f-i.yaml
0.305 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
has_elements%3f-i.yaml
0.587 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
has_text%3f-i.yaml
0.28 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ignore_whitespace_nodes-i.yaml
0.203 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.172 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
instructions-i.yaml
0.268 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
namespace-i.yaml
1.041 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
namespaces-i.yaml
0.178 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
1.956 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
next_element-i.yaml
0.539 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
node_type-i.yaml
0.176 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
prefixes-i.yaml
0.515 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
previous_element-i.yaml
0.562 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
raw-i.yaml
0.5 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
root-i.yaml
0.166 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
root_node-i.yaml
1.241 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
text%3d-i.yaml
1.47 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
text-i.yaml
1.029 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
texts-i.yaml
0.247 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
whitespace-i.yaml
0.899 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
write-i.yaml
1.739 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
xpath-i.yaml
0.168 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF