473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

RSS transform

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 as***@relaxer.org
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 as***@relaxer.org
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 as***@relaxer.org
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 '06 #1
0 1121

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Alex Vinokur | last post by:
Functor-parameters in the for_each() and transform() algorithms are passed by value. Might it make sense to have also algorithms for_each2() and transform2() which pass Functor-parameters by...
0
by: Xiaolei Li | last post by:
first off, i'm a total newbie at this stuff so excuse any wrong usage of terminology or whatever else. i have a XSL to transform a Document such that all "text" nodes will have a "SPAN" inserted...
2
by: John Lehmann | last post by:
I have an interesting problem. I am performing an XSL transform using the System.Xml.Xsl.Transform class. I have a database that contains the XSL style sheet string. And it seems to work pretty...
9
by: Patrick Guio | last post by:
Dear all, I am trying to use the std::transform algorithm to to the following vector< vector<char> >::iterator ik = keys.begin(); // key list iterator vector< vector<char> >::iterator is = ik;...
6
by: Stephen Cook | last post by:
Having worked through the problems around enabling the document function using an XmlUrlResolver I started work on building a useful class to hide the intricacies. Trying to generalise the process...
3
by: Jason S | last post by:
Hello Group, I am just about tearing my hair out with this one and thought someone may have some insight. I have a transform that wasn't working so I grabbed the nearest debugger (xselerator)...
4
by: schneider | last post by:
Anyone know if there is a way to dynamicly create a Xslt template/s and use them as an xml transform with-out use files for the Xslt? All the methods I see use files. I want to create a Xslt...
1
by: Mike Hofer | last post by:
I've got two statements in my code that are both generating weird, weird, weird messages: The first one was, Dim document As System.Xml.XmlDocument Dim navigator As...
4
by: Dean Card | last post by:
Okay, so here is the situation. I have need to do some on-the-fly image creation. I have everything working great except for the last part of it, applying a perspective type transform to the...
6
by: Vijai Kalyan | last post by:
Hello, I am trying to use std::transform to take in a collection of strings, transform them and insert the result into an output container. So, I wrote something like this: std::wstring...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.