Hi,

type:
id:
name:
value:
disabled:     false
src:          http://blahmachine/blahapplication/blahicons/blah.gif
file date:    04/23/2007
file size:    1246
width:        17
height:       17
alt:

And from IRB if I type:

irb(main):135:0> puts fr.images[1].attribute_value("file date")
nil
=> nil

irb(main):137:0> puts fr.images[1].attribute_value("file size")
nil
=> nil

The name shown by to_s method doesn't have one to one mapping with the
attributes of the element. For e.g: file size, actual attribute name is
fileSize.
You can look for the attributes supported by ImageElement here.
http://msdn2.microsoft.com/en-us/library/ms535259.aspx

I hope this helps you in getting correct value of attribute using correct
attribute name supported by element.

- Angrez
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to