johnsonted
8 years agoVisitor
XML Format Issue
My channel reads from an XML file to get info on my videos. The XML content is formatted so that special XML characters get escaped.
For example, in the XML file where there is a " character this is escaped as " and < turns into < etc . Just the standard stuff for XML content.
The issue I have is after my channel reads the XML file, and then I display on the channel for example the video description, instead of changing " back into a " character for display, it just leaves it as " which obviously doesn't look good to the user.
So my question is what do I need to do to convert these special escaped things back into the right characters for display? Is there an existing function that does this already, or should I just create my own?
For example, in the XML file where there is a " character this is escaped as " and < turns into < etc . Just the standard stuff for XML content.
The issue I have is after my channel reads the XML file, and then I display on the channel for example the video description, instead of changing " back into a " character for display, it just leaves it as " which obviously doesn't look good to the user.
So my question is what do I need to do to convert these special escaped things back into the right characters for display? Is there an existing function that does this already, or should I just create my own?