Sorry for the Wizard of Oz reference, but I'm trying to retain my sense of humor while trying to figure out what's going wrong.
I have XML documents which I have parsed and stored into a MS SQL2005 database. I particularly have a text field (varchar(350)) that contains data I extracted from a Node.XML. The data contains text, and some HTML entities (some by number and some by name: ie, ® ™ ® @trade). BTW, I typed in the exact HTML entity numbers for the first two, but they got immediately rendered as the symbols. The entity numbers were: & #174 and & #8482 (just remove the spaces after the ampersands).
When I use MS SQL Server Management Studio, I can see the symbols in the data (they are rendered as the symbols themselves, not as their entity numbers).
When I extract the data from the database and render it on the webpage, I end up with boxes, instead of the symbols. What happened?
I am thinking that I have stored the data properly since I can see the symbols in the database. So, is the problem with extracting the data?
Can anyone please help?