[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Could not select the text() of both parent & child
On Jun 17, 2010, at 9:01 PM, Jack Bush wrote:
Hi Steve, Maybe something like: <xsl:template match="/" > <xsl:for-each select="/html:html/html:body//html:p/html:a" > <team> <xsl:value-of select="concat(./text(),' ',./following- sibling::text()[1])" /> </team> </xsl:for-each> </xsl:template> ( i.e. for each <a>, concatenate the text of a, a space, and the next following text node. ) ----- Original Message ----
|
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
|