[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Picking up the 2nd part text after child element
Why don't try a template aproach like this, that works not only for the second part, works for all the possible multiple parts, and it's most adaptable to new needs (a posible <b> tag, for example)? <xsl:template match="p"> One para -- <xsl:apply-templates/> </xsl:template> <xsl:template match="i"> i: <xsl:value-of select="."/> </xsl:template> <xsl:template match="text()"> p: <xsl:value-of select="."/> </xsl:template> ===== Carles Canellas. VicerTec S.L. ___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es 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
|