xsl-list
[Top] [All Lists]

Re: logical AND does not work in xsl:for-each element combination

2005-09-25 11:06:18

Hi mukul,

no there is nothing displayed;

Therefore here is my xml file part from what I want to extract the data, for 
example for Ref="I8" and Role="Child"

<EventRec Id="EV33" Type="birth">
<Participant>
<Link Target="IndividualRec" Ref="I8"/>
<Role>
Child</Role>
</Participant>
<Date>
15 Apr 1956</Date>
</EventRec>

<EventRec Id="EV37" Type="birth">
<Participant>
<Link Target="IndividualRec" Ref="I13"/>
<Role>
Child</Role>
</Participant>
<Participant>
<Link Target="IndividualRec" Ref="I15"/>
<Role>
Father</Role>
</Participant>
<Participant>
<Link Target="IndividualRec" Ref="I8"/>
<Role>
Mother</Role>
</Participant>
<Date>
18 May 1828</Date>
</EventRec>


Here is my xsl file part:

<xsl:for-each 
select="/GEDCOM/EventRec[(_at_)Type='birth']/Participant[Link/@Ref=$HUSB_ID and 
Role='Child']">
<xsl:value-of select="../Date"/>
</xsl:for-each>

What my be wrong here ?

Thank You for answer

Best regards

PTE

_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>