RE: Recursiveness

Subject: RE: Recursiveness
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 7 Jun 2000 10:00:26 +0100
> How can i only get the text from the current node without the 
> children ?

Add a template rule:

<xsl:template match="text()">
<VW_TekstInspring3><xsl:value-of select="."/></VW_TekstInspring3>
</xsl:template>

Mike Kay
<
> 
> 
> I have to process this XML 
> <vergunning>
> <overwegingen>
>   <kop>A Header text</kop>
>   <vereiste>
>     <kop>An other header text</kop>
>       normal text
>       <kop>thirdheader text</kop> 	
>       second normal text
>    </vereiste>
> </overwegingen>
> </vergunning>
> 
> to this text :
> 
> <VW_KopjeEnLijn>A Header text</VW_KopjeEnLijn>
> <VW_Tussenkopje2>An other header text</VW_Tussenkopje2>
> <VW_TekstInspring3>normal text</VW_TekstInspring3>
> <VW_Tussenkopje2>thirdheader text</VW_Tussenkopje2> 	
> <VW_TekstInspring3>second normal text</VW_TekstInspring3>
> 
>


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


Current Thread