iwanttokeepanon wrote:
Can I ask a question (it may be stupid), if that is the only thing
you are trying to do then isn't that easy? E.g.:
XML: <root> <a>first-text <b>second-text</b> </a> </root>
XSL: <xsl:template
match="text()[parent::b[parent::a[parent::root]]]">
text=<xsl:value-of select="." /> </xsl:template>
Ok, there is probably a more elegant way to express that but it
works, right? Or did I miss something in the talk about multiple
text nodes?
Why not write <xsl:template match="/root/a/b/text()"> ?
Or <xsl:template match="root/a/b/text()"> if that is more appropriate ?
--
Piet van Oostrum
Cochabamba. URL: http://pietvanoostrum.com/
Nu Fair Trade woonartikelen op http://www.zylja.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--