Show parent name

Friday, May 20, 2022
Avatar

In a custom report, I just need to show the name of the parent of a requirement.

This is the code I use, but it provides no result:

		  <td>
				<xsl:value-of select="../Name"/>
		  </td>

Can anyone clarify me why?

1 Replies
Saturday, May 21, 2022
Avatar
re: Alinour78 Friday, May 20, 2022

You need to look at the XML generated to see the path for your XPATH selector.

The Requirement names are not simply stacked up in a hierarchy, it's the entire requirement objects.

You need to do something like this:

https://www.inflectra.com/Support/KnowledgeBase/KB563.aspx

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Friday, May 20, 2022
  • Last Reply: Monday, August 19, 2024
  • Replies: 1
  • Views: 1827