Re: [xsl] Retrieve images from a RSS feed

Subject: Re: [xsl] Retrieve images from a RSS feed
From: Nic James Ferrier <nferrier@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 May 2007 12:12:49 +0100
"M. David Peterson" <m.david@xxxxxxxxxxxxx> writes:

> On Fri, 18 May 2007 02:28:48 -0600, Nic James Ferrier  
> <nferrier@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>>  <xsl:template match="/">
>>      <xsl:for-each select="//enclosure[starts-with(@type, 'image/')]">
>>         <xsl:value-of select="@href"/>
>>      </xsl:for-each>
>>  </xsl:template>
>
> Are you suggesting this as the solution from the standpoint of selecting  
> the URI of all image enclosures to then pass to the extension
> function?

Yes. Or even more simply just use this to generate a list of URLs and
download them outside XSLT.


-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   

Current Thread