Please look at the XML data below.
I am having difficulties trying to select the "Value" (<xsl:value-of select="Value"/>) when the ID="-2". The Var loops many times, but I only want the Value when EITHER the ID="-2" or the Name="PV_FloorPlanCODE".
I'm not very experienced, I've tried an If statment, Choose, ..etc. I cannot get anything to work.
Thank you in advance!!
Snug
Here is the looping data from the XML..
<Var ID="-2" type="String">
<Value>APC</Value>
<Name><![CDATA[PV_FloorPlanCODE]]></Name>
</Var>
<Var ID="-7" type="String">
<Value>0</Value>
<Name><![CDATA[PV_FMTPOSitionSTart]]></Name>
</Var>
I am having difficulties trying to select the "Value" (<xsl:value-of select="Value"/>) when the ID="-2". The Var loops many times, but I only want the Value when EITHER the ID="-2" or the Name="PV_FloorPlanCODE".
I'm not very experienced, I've tried an If statment, Choose, ..etc. I cannot get anything to work.
Thank you in advance!!
Snug
Here is the looping data from the XML..
<Var ID="-2" type="String">
<Value>APC</Value>
<Name><![CDATA[PV_FloorPlanCODE]]></Name>
</Var>
<Var ID="-7" type="String">
<Value>0</Value>
<Name><![CDATA[PV_FMTPOSitionSTart]]></Name>
</Var>