xsl-list
[Top] [All Lists]

RE: feed reader problem

2004-04-20 23:59:19
 

    -----Original Message-----
    From: VENKATA_SRIPADA/SCI/STUDENT/ODU%ODU 
    and code in xsl file is as follows
    
    
    <!-- getRSS.xsl: retrieve RSS feed(s) and convert to HTML. 
    --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
         xmlns:dc="http://purl.org/dc/elements/1.1/"; version="1.0">
    
      <xsl:output method="html"/>
    
      <xsl:template match="/">
        <html><head><title>Today's Headlines</title></head>
        <style><xsl:comment>
    
    p         { font-size: 8pt;
                font-family: arial,helvetica; }

If you want to hard code font sizes, go play with the script kiddies.
I like to write accessible HTML.



      <xsl:template match="channel">
        <xsl:apply-templates select="document(@src)"/>
      </xsl:template>


You are missing all the namespace processing,
and you've a long way to go to get all the feed elements into the
stylesheet.

You are hacking it, why not just add your tables on a per feed basis?
No different to any other html?

DaveP

- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 


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