Re: Creating RSS via XSL?
Sure, just have something like
<xsl:apply-templates select="item[position() <= 10]"/>
I'm assuming somewhere in the header of the RSS you have a preprocessing directive like:
<?xml-stylesheet type="text/xsl" href="firstTenItems.xsl"?>
Re: Creating RSS via XSL?
Quote:
Originally Posted by
jkmyoung
Sure, just have something like
<xsl:apply-templates select="item[position() <= 10]"/>
I'm assuming somewhere in the header of the RSS you have a preprocessing directive like:
<?xml-stylesheet type="text/xsl" href="firstTenItems.xsl"?>
my big question is if I had such a line, would browsers and reads reconginze it as an RSS feed?
Re: Creating RSS via XSL?
Upon trying with a simple mechanism, perhaps not; XSLT transformations are implicitly cast to html. Have also tried to create a page which runs the transformation, but the output is still only recognized as HTML.
Sorry, I don't know if there is such a mechanism without having your server create the second file.