I have a xml build of
<elig>
<subscriber code="1234"/>
<date to="12/30/2004"
from="12/31/2004"/>
<person name="bob"
ID="654321"/>
<dog type="labrador"
color="white"/>
<location name="hawaii"
islandCode="01"/>
</subscriber>
</elig>
In XSL I have:
<xsl:template match="subscriber">
<xsl:for-each select="date">
<xsl:apply-templates match="person" />
<xsl:apply-templates match="location" />
<xsl:apply-templates match="dog" />
</xsl:for-each>
</xsl:template>
The problem I have is that I need the location block in between the person and the dog block. I have tried ../ and it does not work. I simplified this majorly but the point comes across. I can't seem to remember what I need to place in front of location to get it to work. Thanks.