473,729 Members | 2,348 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xsd.exe with yahoo media rss

Hi everyone.
I've got problem with converting xml file to xsd schema. The Xml file
looks like:
<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0" xmlns:media="ht tp://search.yahoo.co m/mrss/">
<channel>
<title>Song Site</title>
<media:title type="plain">Ti tleOfMedia</media:title>
<link>http://www.foo.com</link>
<description>So ngs galore at different bitrates</description>
<item>
<title>Cool song by an artist</title>
<link>http://www.foo.com/item1.htm</link>
<media:group>
<media:title type="plain">Ti tleOfMedia</
media:title>
<media:conten t url="http://www.foo.com/
song64kbps.mp3"
fileSize="1000" bitrate="64" type="audio/mpeg"
isDefault="true " expression="ful l"/>
<media:conten t url="http://www.foo.com/
song128kbps.mp3 "
fileSize="2000" bitrate="128" type="audio/mpeg"
expression="ful l"/>
<media:conten t url="http://www.foo.com/
song256kbps.mp3 "
fileSize="4000" bitrate="256" type="audio/mpeg"
expression="ful l"/>
<media:conten t url="http://www.foo.com/
song512kbps.mp3 .torrent"
fileSize="8000" type="applicati on/x-
bittorrent;encl osed=audio/
mpeg"
expression="ful l"/>
<media:conten t url="http://www.foo.com/
song.wav"
fileSize="16000 " type="audio/x-wav"
expression="ful l">
<media:credit role="musician" >band member 1</
media:credit>
<media:credit role="musician" >band member 2</
media:credit>
<media:category >music/artist name/album/song</
media:category>
<media:rating>n onadult</media:rating>
<media:title type="plain">Ti tleOfMedia</
media:title>
</media:content>
</media:group>
</item>
</channel>
</rss>

When I'm trying to convert this there seems to be a problem with
names, because when he changing this the name "media:titl e" is saved
as "title", so there'll be always problem with this because we got
already element name "title". does anybody knows how to fix it??
Please! :)
Konrad
Sep 11 '08 #1
0 1582

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

Similar topics

5
4737
by: Alun | last post by:
I am trying to use the import method of attaching stlyesheets but I'm getting strange results. this is the code I'm using... <head> <title>CSS Example</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
1
2946
by: Garmt de Vries | last post by:
For a long time, I've used CSS to style my webpages, but only for media "screen" and "print". Now I've started looking into styling them for other media like "projection" and "handheld". I'd be happy to hear your advice on a couple of practicalities. 1. media="all" required? In the <head> of my pages, I have the following: <link rel="stylesheet" href="style.css" type="text/css"></link>
11
1922
by: Wolfgang Meier | last post by:
Hi, I really hope I'm not hitting a frequently asked question here, because I think almost every author must have made that decision. Anyway, here goes: Would it be better to write one global stylesheet, then write specializations for media that need special treatment: <link ... media="all">
0
1106
by: melledge | last post by:
Amazon and Yahoo join illustrious line-up at XML 2005; Over 30 new sessions added XML 2005 http://2005.xmlconference.org/ The Reliable Source for Everything XML Atlanta Hilton Hotel, Atlanta, GA - Reservation Deadline October 21
6
1719
by: dubing | last post by:
Hello everyone, If media is not explicitly specified in link as shown below, what's the default media supposed to be, screen or all? I thought it should be 'all'. <link rel="stylesheet" type="text/css" href="layout.css" /> Thanks,
4
6313
by: hzgt9b | last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0, BACKGROUND I have a window forms based application that contains a TreeView control and a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with nodes that when clicked play an audio clip from specified local or web URL and navigate the browser control to a specified local or web URL. Audio playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
2
1844
by: Sandman | last post by:
Ok, so I'm the author of a pretty big CMS system (big as in huge, not market-share big) and I've been thinking about a problem for a few weeks here on media management. The CMS accomodates both images/media uploaded by admins, but also by members (in forum and blogs and such). Nothing strange about that at all. But now I'm faced with the need of moving - physically - all my media to a separate server, for distributed loads. I.e. when...
0
2037
by: Konrad | last post by:
Hi everyone. I've got problem with converting xml file to xsd schema. The Xml file looks like: <?xml version="1.0" encoding="iso-8859-2"?> <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> <channel> <title>Song Site</title> <media:title type="plain">TitleOfMedia</media:title> <link>http://www.foo.com</link> <description>Songs galore at different bitrates</description>
0
1586
by: kplazinski | last post by:
Hi everyone. I've got problem with converting xml file to xsd schema. The Xml file looks like: <?xml version="1.0" encoding="iso-8859-2"?> <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> <channel> <title>Song Site</title> <media:title type="plain">TitleOfMedia</media:title> <link>http://www.foo.com</link> <description>Songs galore at different bitrates</description>
0
8917
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9142
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.