xsl-list
[Top] [All Lists]

Re: [xsl] Retrieve images from a RSS feed

2007-05-18 04:14:43
"M. David Peterson" <m(_dot_)david(_at_)xmlhacker(_dot_)com> writes:

On Fri, 18 May 2007 02:28:48 -0600, Nic James Ferrier  
<nferrier(_at_)tapsellferrier(_dot_)co(_dot_)uk> 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   

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>