Re: Antwort: [xsl] xsl:for-each

Subject: Re: Antwort: [xsl] xsl:for-each
From: ram ragu <xmlram@xxxxxxxxx>
Date: Thu, 5 Jul 2001 06:09:54 -0700 (PDT)
Thanks Hanssen for your help!! Yes I have changed as
you told and it worked but I have another concern.. 

all Childs of CDetails are processed except CoDetail


<xsl:template match="CDetail"> 

        <xsl:value-of select="CNo"/>

        <xsl:for-each select="CoDetail">
	<xsl:apply-templates select="."/>
	</xsl:for-each>
</xsl:template> 

<xsl:template match="CoDetail"> 
          <xsl:value-of select="CoNo"/>

</xsl:template> 

please help!!

Ram 




--- Bernward Hanssen <bernward.hanssen@xxxxxx> wrote:
> 
> hi ram
> 
> There is no CDetail Child in CDetail. I Think you
> want the following:
> 
> <xsl:template match="PDetail">
>      <xsl:for-each select="CDetail">
>           <xsl:apply-templates select="."/>
>         </xsl:for-each>
> </xsl:template>
> 
> 
> 
> Bernward
> 
> 
> 
> 
> 
> --
> 
> Diese E-Mail enthält vertrauliche und/oder rechtlich
> geschützte Informationen. Wenn Sie nicht der
> richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben, informieren Sie bitte sofort den
> Absender und vernichten Sie diese Mail. Das
> unerlaubte Kopieren sowie die unbefugte Weitergabe
> dieser Mail ist nicht gestattet.
> 
> This e-mail may contain confidential and/or
> privileged information. If you are not the intended
> recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy
> this e-mail. Any unauthorised copying, disclosure or
> distribution of the material in this e-mail is
> strictly forbidden.
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread