Displaying 2 results from an estimated 2 matches for "src_attr".
Did you mean:
src_attrs
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
...of existing disks
- foreach my $disk ($dom->findnodes('/domain/devices/disk')) {
- my ($source) = $disk->findnodes('source');
- my ($target) = $disk->findnodes('target/@dev');
-
- # Look for the source location
- my $path;
- my $src_attrs = $source->getAttributes();
- foreach my $attr qw(dev file) {
- my $item = $src_attrs->getNamedItem($attr);
- if(defined($item)) {
- $path = $item->getNodeValue();
-
- # Remove the attribute. We'll add a new one in below.
-...
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...eate_img_button(imgfn,label,fn) {
+ var button=document.createElement("A");
+ var button_img=document.createElement("IMG");
+ var class_attr=document.createAttribute("CLASS");
+ class_attr.value="button";
+ button_img.setAttributeNode(class_attr);
+ var src_attr=document.createAttribute("SRC");
+ src_attr.value=imgfn;
+ button_img.setAttributeNode(src_attr);
+ var alt_attr=document.createAttribute("ALT");
+ alt_attr.value="["+label+"] ";
+ button_img.setAttributeNode(alt_attr);
+ var title_attr=document.createA...