W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2002

rdf namespace problem

From: Sudhakar Barua <sudhakar.barua@adakos.com>
Date: Fri, 19 Jul 2002 05:59:34 -0400 (EDT)
To: <www-rdf-comments@w3.org>
Message-ID: <KGECJCICLDKMICICDLJJOEAMCFAA.sudhakar.barua@adakos.com>




subscribe
----------------------------------------------------------------------------
----
Hi , I have a RDF like this with xmlns="http://purl.org/rss/1.0/":-
------------------------------------RDF-------------------------------------
----
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="C:\SudhakarBarua\op.xsl"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel rdf:about="http://www.openpkg.org/news.rdf">
		<title>OpenPKG Newsflash</title>
		<link>http://www.openpkg.org/</link>
		<description>OpenPKG Latest News</description>
	</channel>
	<items>
		<rdf:Seq>
			<rdf:li
resource="ftp://ftp.openpkg.org/current/SRC/geoip-0.2.2-20020719.src.rpm"/>
			<rdf:li res........................

----------------------------------------------------------------------------
----

which cannot be parsed by an XSL below, unless an until I remove the
namespace declaration xmlns="http://purl.org/rss/1.0/" from the RDF above.

----------------------------------XSL---------------------------------------
----
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://purl.org/rss/1.0/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >

	<xsl:template match="/">
		<h5>From rdf:RDF</h5>
		<html>
			<body>
				<table border="0" class="footerFont" cellpadding="0" cellspacing="10">
					<xsl:apply-templates />
				</table>
				<h5>End rdf:RDF</h5>
			</body>
		</html>
	</xsl:template>...................................

----------------------------------------------------------------------------
----
Is there any way I could parse the RDF without making any changes to it?




Mit freundlichem Gruß
Best regards
Sudhakar Barua
(Software Development)


| AdaKoS GmbH - Advanced Knowledge Solutions
| Ohmstrasse 3
| D-85716 Unterschleissheim
| Germany
| Fax.:   +49-(0)89-189496-11
| Handy:+49-(0)160 437 0488
| E-mail: Sudhakar.Barua@adakos.com
|            Sudhakar_Barua@hotmail.com
| URL:    http://www.adakos.com
Received on Friday, 19 July 2002 10:01:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:30 GMT