ethar turky
asked on
xsl to format xml news
Dear all,
Could you please help to write xsl to format news feed from http://www.itp.net/arabic/rss/?tid=2
thanks
Could you please help to write xsl to format news feed from http://www.itp.net/arabic/rss/?tid=2
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you change line 17
<xsl:apply-templates select="item"/>
into
<xsl:apply-templates select="item[position() <= 5]"/>
you will get the top 5 only
<xsl:apply-templates select="item"/>
into
<xsl:apply-templates select="item[position() <= 5]"/>
you will get the top 5 only
ASKER
Thanks you very much...
How can remove any html tag from the description element?
I add another question for you ...
Please response.
https://www.experts-exchange.com/questions/28142256/remove-html-tag-from-xml-elment.html
How can remove any html tag from the description element?
I add another question for you ...
Please response.
https://www.experts-exchange.com/questions/28142256/remove-html-tag-from-xml-elment.html
welcome
ASKER
Just could you please tell me how to select top 5 items (news ) only?