現在、最新の 12 件の記事を一覧表示する次のコードがあります。
<xsl:for-each select="rss/channel/item[position() <= 12]">
私が望むのは、ページネーション効果に似ています。次のように間にする方法はありますか:
<xsl:for-each select="rss/channel/item[position() >= 12 & <= 24]">
ASPページのように値を渡します:
mm_xsl.addParameter "from",
mm_xsl.addParameter "to"
次に、私のxslページに持っています:
<xsl:for-each select="rss/channel/item[position() >= $from & <= $to]">
これは可能ですか?