Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Any idea on howto do this? I want to make a counter that counts 5 newsfeeds from the last 5 created sub-pages to a page .. problem is - i cant use position because of the xsl:if that makes sure that unwanted pages doesnt end up in the same feed.. any help would be appreciated .. :-)
[code]
Jonas, you can probably get by with position() anyway, but instead of using your if-statement, move the clause to the for-each So instead of: [code]
Tommy
ooops, sorry, did not read you code correctly. Here is what you could write : [code]
nice thanks - ill try it .. :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
XSLT counter without using position ..
Any idea on howto do this?
I want to make a counter that counts 5 newsfeeds from the last 5 created sub-pages to a page ..
problem is - i cant use position because of the xsl:if that makes sure that unwanted pages doesnt end up in the same feed..
any help would be appreciated .. :-)
[code]
[/code]
tried this .. and theres a page created later than the one showing .. so position says 2 instead of 1 .. so .. thats why i wanted to make a counter instead .. :-)
Jonas, you can probably get by with position() anyway, but instead of using your if-statement, move the clause to the for-each
So instead of:
[code]
ooops, sorry, did not read you code correctly.
Here is what you could write :
[code]
nice thanks - ill try it .. :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.