From: Tan, P. H. <ph...@in...> - 2003-05-30 10:00:54
|
Hi - I have a class with some attributes, and each attribute has some tagged values. I am trying to get the tagged values out of the attributes, but can't seems to get it. I modified report.vsl in the sample model-report example as follow, where did I go wrong? Any help appreciated, thanks! #foreach ( $attribute in $transform.getAttributes($modelElement) ) attribute $attribute.name ## --- added lines by me follow - get the tagged value for the attribute ---- #foreach ( $tgv in $attribute.taggedValues ) tag $tgv.tag value $tgv.value #end ## --- added lines by me ends ------------- #end Output I get for the related class, the attributes are printed, but not the tagged values: ELEMENT = CollateralForm attribute name attribute addressLine1 |