At runtime I can have two formats of a XML file:
//some processing here using graph[1]/@color values
I'm going to make a guess here since your question is missing a lot of important information, such as the context in which thie graph[1]/xaxis
and .../yaxis
, not graph[1]/@color
values.