RSS transform

Discussion in 'XML' started by hawat.thufir@gmail.com, Feb 19, 2006.

  1. Guest

    Google has an RSS feed of the most recent 15 messages of this group.
    Arbitrarily, I saved that XML file. I also save the RSS feed for the
    NYTimes home page and an RSS feed from Amazon.

    Relaxer will generate an XSD file but I'm not sure what to do with that.
    What I'd like to do is to do an identity transform as described in the
    tutorial introduction
    <http://www.relaxer.org/doc/tutorial/tutorial_s1.html>:


    In addition, Relaxer can generate:

    * Relax Core, XML Schema, and RELAX NG schemas based on XML instances
    * DTDs based on Relax Core and RELAX NG schemas
    * XSLT stylesheets (identity transforms) based on instances


    I'm just mucking about here, and am just looking for a simple result. I'd
    like to use relaxer to do this but can't figure out how to do an identity
    transform such that the result is for all intents and purposes exactly
    what was transformed.

    If I can get an identity transform for one of these RSS feeds that'd give
    me a jumping off point to muck around, but right now I'm feeling a bit
    stuck with how to "do" XSLT. (I've got Xalon up and running, but nothing
    to run through it.)


    [thufir@localhost feedsRSS]$
    [thufir@localhost feedsRSS]$ whoami
    thufir
    [thufir@localhost feedsRSS]$ pwd
    /home/thufir/xalon/feedsRSS
    [thufir@localhost feedsRSS]$ ll
    total 36
    -rw-rw-r-- 1 thufir thufir 4360 Feb 19 15:12 HomePage.xml
    -rw-rw-r-- 1 thufir thufir 11659 Feb 19 14:57 rss_v2_0_msgs.xml
    -rw-rw-r-- 1 thufir thufir 3662 Feb 19 15:16 xml3.amazon.xml
    [thufir@localhost feedsRSS]$ relaxer -verbose -xsd HomePage.xml
    Copyright(c) 2000-2003 ASAMI,Tomoharu. All rights reserved.
    Relaxer Version 1.0rc2 (20030605) by
    Source file : file:/home/thufir/xalon/feedsRSS/HomePage.xml
    artifact = HomePage.xsd
    [thufir@localhost feedsRSS]$ relaxer -verbose -xsd rss_v2_0_msgs.xml
    Copyright(c) 2000-2003 ASAMI,Tomoharu. All rights reserved.
    Relaxer Version 1.0rc2 (20030605) by
    Source file : file:/home/thufir/xalon/feedsRSS/rss_v2_0_msgs.xml
    artifact = rss_v2_0_msgs.xsd
    [thufir@localhost feedsRSS]$ relaxer -verbose -xsd xml3.amazon.xml
    Copyright(c) 2000-2003 ASAMI,Tomoharu. All rights reserved.
    Relaxer Version 1.0rc2 (20030605) by
    Source file : file:/home/thufir/xalon/feedsRSS/xml3.amazon.xml
    artifact = xml3.amazon.xsd
    [thufir@localhost feedsRSS]$ ll
    total 60
    -rw-rw-r-- 1 thufir thufir 4360 Feb 19 15:12 HomePage.xml
    -rw-rw-r-- 1 thufir thufir 1774 Feb 19 15:17 HomePage.xsd
    -rw-rw-r-- 1 thufir thufir 11659 Feb 19 14:57 rss_v2_0_msgs.xml
    -rw-rw-r-- 1 thufir thufir 1372 Feb 19 15:17 rss_v2_0_msgs.xsd
    -rw-rw-r-- 1 thufir thufir 3662 Feb 19 15:16 xml3.amazon.xml
    -rw-rw-r-- 1 thufir thufir 1438 Feb 19 15:18 xml3.amazon.xsd
    [thufir@localhost feedsRSS]$ date
    Sun Feb 19 15:18:12 EST 2006
    [thufir@localhost feedsRSS]$




    thanks,

    Thufir
    , Feb 19, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    742
    SpaceGirl
    Feb 25, 2005
  2. Motta
    Replies:
    1
    Views:
    507
    Andy Dingley
    Jun 9, 2004
  3. Jake Barnes
    Replies:
    1
    Views:
    412
    Andy Dingley
    Nov 14, 2005
  4. Scott Gordo
    Replies:
    5
    Views:
    679
  5. Jonathan Groll
    Replies:
    1
    Views:
    252
    Kouhei Sutou
    Jun 27, 2009
Loading...

Share This Page