kb1jop Posted September 10, 2014 Share Posted September 10, 2014 I want to grab one occurrence of each of the different DivTypeV values from this vector below. The first one is easy [<xsl:variable name="Opt1" select="$myVector/DivTypeV[1]"/>] but then I try to loop through and only grab one of the ones that are not the same. Have been pulling my hair out trying to find examples on how to do that. Some that claim to work just don’t. Much trial and error without success. Any clues? <DivType id="Display"> <DivTypeBaseDate>2014-08-20</DivTypeBaseDate> <DivTypeEndDate>2090-08-20</DivTypeEndDate> <DivTypeV tc="3">Paid Up Additions</DivTypeV> <DivTypeV tc="3">Paid Up Additions</DivTypeV> <DivTypeV tc="3">Paid Up Additions</DivTypeV> <DivTypeV tc="8">Reduce Premiums/PUAs</DivTypeV> <DivTypeV tc="8">Reduce Premiums/PUAs</DivTypeV> <DivTypeV tc="8">Reduce Premiums/PUAs</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> <DivTypeV tc="4">Accumulate at Interest</DivTypeV> … </DivType> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now