For example my xml looks like this:
<root> <Book_information> <bookTitle>Lorem 1</bookTitle> <choices>test1</choices> <choices>test2</choices> <choices>test3</choices> <choices>test4</choices> <choices>test5</choices> <choices>test6</choices> <calendar>2010-12-30</calendar> <calendar>2011-01-12</calendar> <calendar>2011-03-10</calendar> </Book_information> </root>
I need to loop the elements "Choices"... How can i do this? I know how to work with the for each loop, but i don't know how to get the values in choices.
<xsl:for-each select="root/Book_information"> <xsl:value-of select ="GET THE VALUES IN CHOICES???"/> </xsl:for-each>
I don't want to use choices, choices, choices,...
because then it would be too much code.