![]() ![]() However, I then encountered the problem with Server.HTMLEncode throwing errors if a string was null rather then empty. ![]() My first natural reaction was to Server.HTMLEncode all strings. More often than not, it was something silly like a copyright character, or bizarre apostrophes. Each time I tried to process that XML, I would get illegal character errors. The problem I encountered was, every so often my ToXML property would return broken XML. Allowing me to save/restore the object or generate an output using XSLT. I wanted the ability to serialise my objects so I created a default ToXML property for each class.Īs you’d expect, the ToXML property takes all values from within the object and returns a well formed XML document. To keep things clean I decided to introduce a little OOP and created some VBScript classes. I have been given the task of updating an old Classic ASP application. However, my situation is a little unique. You’re absolutely right, in many situations only the basic HTML encoding is needed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |