|
Comments for: ben_robinson200701017
| Message # 1510225: |
|
Date: 09/06/07 05:59
By: mpb001 Subject: Escaping and other things You should give an escaping example for the stuff that goes in the xml. The xml in your example uses utf-8 which is very easy to work with if there is a utf-8 database. Now locational databases (latin 1 etc) can be a pain to work with due to the copying of stuff from word and other sources that use extended characters will break latin-1 feeds. The escaping of < and > and & always needs to be done as well. Just pointing it out due to some of this stuff, even though aimed at newbies, does end up in production and problems do not always show until 1 or 2 months after. Instead of XML with Ajax there is JSON. JSON is friendlier to work with on the client end as it copiles to a native data structure which is smaller than xml and faster/easier to loop through. Plus a parser death does not occur if it finds a character outside it's scope. Worth reading if you are interested in JSON http://www.json.org/ http://en.wikipedia.org/wiki/JSON This is also pretty useful to view the json generated. http://www.codeplex.com/JsonViewer JSON can also be used with flash. |
Previous Message | Next Message |
| Comments: | ||
| Escaping and other things | mpb001 | 09/06/07 05:59 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


