I've a trouble with xml, I need to access "a node with child that had some
specific text". Somebody can help me?
Thanks a lot
example:
xsl file:
<xsl:template match="Group[@Name='artigos']"> <!-- that`s works-->
<xsl:apply-templates select="Item"></xsl:apply-templates>
</xsl:template>
<xsl:template match="expression"> <!-- that template need to get the node
indicate in the xml below-->
<tr>
<td>
<!-- Do something very complicated, usefull and coll -->
</td>
</tr>
</xsl:template>
xml file:
<Group Name="artigos">
<Item> <!-- the template need to get that "Item"
because Item/Info[8] = 'baseA' -->
<Info>1</Info>
<Info>1</Info>
<Info>0</Info>
<Info>Pagina com box</Info>
<Info>23/11/2004</Info>
<Info>A lot of text<Info/>
<Info/>
<Info>Home</Info>
<Info>baseA</Info>
</Item>
<Item>
<Info>1</Info>
<Info>1</Info>
<Info>0</Info>
<Info>Pagina com box</Info>
<Info>23/11/2004</Info>
<Info>A lot of text<Info/>
<Info/>
<Info>Home</Info>
<Info>baseB</Info>
</Item>
</Group>