RSS transform

H

hawat.thufir

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 (e-mail address removed)
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 (e-mail address removed)
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 (e-mail address removed)
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top