Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. iTunes and Podcasting

iTunes and Podcasting

Scheduled Pinned Locked Moved C#
xmlquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Al_Pennyworth
    wrote on last edited by
    #1

    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?

    A 1 Reply Last reply
    0
    • A Al_Pennyworth

      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?

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      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.

      A 1 Reply Last reply
      0
      • A Anonymous

        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.

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups