AnsweredAssumed Answered

Retrieve just the content of CustomInformation/ColumnValue of an attribute in GEL

Question asked by Georgy N Joseph on Dec 9, 2014
Latest reply on Dec 9, 2014 by AndrewLerner

Hi Friends,

 

I need to get ONLY the value of a custom project attribute from the XOG read output xml created entirely in the GEL script.

 

My issue is that I am getting the entire line

     <ColumnValue name="attribute_id">attribute_content</ColumnValue>

stored in the variable when I do a select as given below:

 

<gel:set  asString="true"  select="$xogPrjData//Projects/Project/CustomInformation/ColumnValue[@name='attribute_id']"  var="variable1"/>

 

How can I extract only the attribute content into the variable? What am I missing here?

 

Regards,

Georgy

Outcomes