I want to assign a value to a variable if a particular attribute returns a particular value. In here I want to assign the value "young" to vaiable "person" if pr:all/[@pr:name=current()/@cx:name]/prroperties/(@ls:middlename) is "cengie". Is that possible?\[code\]<xsl:variable name='person' select='pr:all/[@pr:name=current()/@cx:name]/prroperties/(@ls:middlename)'></xsl:variable>\[/code\]