|
Subject: Re: [xsl] Could not select the text() of both parent & child nodes simultaneously From: "steve.majewski@xxxxxxxxx" <steve.majewski@xxxxxxxxx> Date: Thu, 17 Jun 2010 10:41:58 -0400 |
( A )<xsl:template match="ns:p[ns:strong='World Cup Competition:']">
<xsl:for-each select="text()|ns:a">
<team><xsl:value-of select="normalize-space()"/></team>
</xsl:for-each>
</xsl:template>
Output
<team>Brasil<team>
<team>(30 goals)<team>
<team>Argentina<team>
<team>(25 goals)<team>
<team>Germany<team>
<team>(22 goals)<team>
<team>USA<team>
<team>(15 goals)<team>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Could not select the text, Jack Bush | Thread | Re: [xsl] Could not select the text, Jack Bush |
| Re: [xsl] Could not select the text, Jack Bush | Date | Re: [xsl] An unintended incompatibi, Dave Pawson |
| Month |