iTunes and Podcasting
-
Hey all, this post is going to sound a little strange, I hope I can explain things well enough. I am working on an application that uses the RSS 2.0 Framework (here on CodeProject) but I need to include the iTunes tags in the RSS file. I thought this would be simple enough but I am having problems with the serializing of the XML file. The iTunes tags are in the format but when the file is imported and serialized, the tags become , where 0x003A seems to be the hex representation of a colon character. Any ideas on things I can do to get around this?
-
Hey all, this post is going to sound a little strange, I hope I can explain things well enough. I am working on an application that uses the RSS 2.0 Framework (here on CodeProject) but I need to include the iTunes tags in the RSS file. I thought this would be simple enough but I am having problems with the serializing of the XML file. The iTunes tags are in the format but when the file is imported and serialized, the tags become , where 0x003A seems to be the hex representation of a colon character. Any ideas on things I can do to get around this?
-
It sounds like an issue when the xml file is serialized, the ":" is being treated as an illegal character. Unfortunately, I don't have any suggestions for getting around this problem.
I believe I may have found you an answer. In looking through this document: http://www.vijaymukhi.com/documents/books/xsd/chap8.htm it appears as though you need to use XmlSerializerNamespaces and pass that into the Serializer. It associates the namespace prefix with the tag and uses the colon as a separator.