I'm not totally sure I understand. Are you wanting the values to be stored as a constant from day to day, or are you saying you want it to dynamically find these during each session and store the values in order to be used by various actions?
As for programmatically reading the attributes of an element, I don't think there's any way to do that without perhaps retrieving the XML from the database and then parsing the XML for what you need. As I said, I'm probably not understanding your need, so I may be way off. But could you store the values in data items and then retrieve the values when you need them and use in dynamic attributes? If you need to store the values for more than just a single session, then maybe store the values in work queue items? I know that's a common thing people do when needing to retain dynamic values from session to session or day to day.
Small edit: When I say 'I don't think it's possible to programmatically read the attributes of an element', I guess I was assuming you already knew about using a Read stage to read the values of an attribute at runtime. You can do that, but I think it'd only work for an element that can be found in the app at that moment in order to read from the app. I don't think you can read the static values stored in the app model, if that makes sense. Hopefully I didn't just make this more confusing.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company