SlideShowPro - XML attributes
Mike | Thursday, January 18, 2007
However, I have the need to extend the XML schema and include additional attributes on my image nodes. It can be done no problem, as discussed here on the SlideShowPro forums. BUT, I noticed that the component converts all attribute names to lowercase.
So, say you want to add an attribute containing the path to download the image, call it "downloadPath." Notice the uppercase P. When retrieving that attribute via the data Object created by SlideShowPro (eventObject.data) the name has to be all lowercase (i.e. eventObject.data.downloadpath). I'm going to stick to just using all lowercase attribute names in the XML to thwart off confusion.
I was going to add this as a reply in the forums, however, they seem to be closed to new registrations?
Michael Krisher, Senior Developer, Barefoot
cross posted here