Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another way to make XML awesome (especially for config files and the like) is to completely avoid CDATA i.e. no <config><key>value</key><key2>value2</key2></config> but rather: <config key="value" key2="value2"/> -- simple constructions can then do with just a root element. Of course this pattern only pays off if you need the XML parser for other parts of the application, too...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: