Properties in Structured Data Writer (XML File Header)

I am trying to use the graph properties in data structure writer component. I set the properties at run time from java code inside the reformat component. If i read these properties later, i get back the right values, but in the structure data writer component, which i am using to write an XML file, it always gives me back the initialized values if the properties are defined, or the variable name e.g. ${prop_name} if not defined and initialized.

Is there any restriction of using the properties in such a way or what… i am also using the properties in same manner else where in graph and its working perfect, but only in this specific case its not working ???

thanx and regards

Current property value is available only from java code. In every other places parameter is replaced by its value during graph initialization, so by the initial value.