SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Converting XML to RSS with XSL - possible?

    I've been fighting with this for most of the night last night and can't figure this out.

    Mostly as a proof-of-concept style thing I've been attempting to get a sample XML document and turn it into valid RSS that I can subscribe to in a feed reader.

    To that end I've produced this XML file which has this XSL transform applied. I've gone over the code for both again and again and again and it seems to all be valid (at least according to most examples I've found on the web) but it keeps coming up as an invalid feed.

    I should mention that when I simply view the XML file in the web browser, I see pretty much the expected text - and if I use the Firefox Web Developer toolbar extension and then use the view generated source option, the code that I see outputted is valid RSS 2.0, so I can't understand why this isn't working.

    If anyone here could take a look at my code and see what's going on that would be really helpful.

  2. #2
    SitePoint Member
    Join Date
    Jun 2010
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jono1san, congratulations on your 1st post.
    You must see the expected font size, too.
    Few people read the fine print. Good luck.

  3. #3
    SitePoint Zealot cruncher06's Avatar
    Join Date
    Feb 2009
    Location
    Illinois, USA
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a quick solution. You could try out Sams Teach Yourself XML in 24 Hours by Michael Morrison; Third Edition written in 2006. Hour 24, page 510, has information on using XSL for RSS. You might even have the book at your local library.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •