Hi all,
Sorry for this newbie issue, but I was not able to find any suitable solution
so far.
I have an xml looking like that:
<rss>
<channel>
<item id="24874">
<title>News 1</title>
<page id="456">
<pageNumber>1</pageNumber>
<layout>1</layout>
<title>qsdqsd</title>
<date />
</page>
<page id="457">
<pageNumber>1</pageNumber>
<layout>1</layout>
<title>qsdqsd</title>
<date />
</page>
</item>
</channel>
</rss>
I have a XSL document that will display a page detail (the page id being a
param)
I have tried the following:
<xsl:template match="rss/channel" >
<xsl:for-each select="item/page[(_at_)id=456]">
id = <xsl:value-of select="@id"/>
</xsl:for-each>
</xsl/template>
But when I run this, I get "id = 456" twice..
Any suggestion welcome
Thanx,
seb
--~------------------------------------------------------------------
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>
--~--