Is there a way to handle HTML encodings? Automatically turn them into spaces perhaps?
Here is an example of what I'm running into.
XML I'm parsing: <td valign="top" colspan="2">Aug 21, 2007 </td>
When I code around & get to the text node containing the text between the <TD></TD> tags though all I get is the following.
"Aug 21, 2007nbsp;" (minus the double quotes)
So basically my whole question is... where did the "&" go, and How do I get them back? Or.. does TinyXML having something built in to convert these 's to the spaces they are representing?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Again, TinyXML is a (tiny) XML parser, and " " is not a predefined entity according to XML specifications.
You can use " " or " " instead.
HTH
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to handle HTML encodings? Automatically turn them into spaces perhaps?
Here is an example of what I'm running into.
XML I'm parsing: <td valign="top" colspan="2">Aug 21, 2007 </td>
When I code around & get to the text node containing the text between the <TD></TD> tags though all I get is the following.
"Aug 21, 2007nbsp;" (minus the double quotes)
So basically my whole question is... where did the "&" go, and How do I get them back? Or.. does TinyXML having something built in to convert these 's to the spaces they are representing?
Thanks!
Again, TinyXML is a (tiny) XML parser, and " " is not a predefined entity according to XML specifications.
You can use " " or " " instead.
HTH