|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Recursiveness
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








