2 ms·
You don't have to write XML by hand. You can mostly use tools designed for working with HTML. The translation into final output is relatively simple. If you are
by pekk 14y ago
You don't have to write XML by hand. You can mostly use tools designed for working with HTML. The translation into final output is relatively simple. If you are handed HTML it is trivial to put in placeholders or slice it up rather than having to build it up from scratch in some alternate language.
- ufo 14y agoI was saying that parsing HTML is harder than parsing XML, because of all the tricky corner cases with "malformed" stuff. Generating either of them is relatively easy to do. I don't undestand your point about placeholders though. Isn't the whole problem here that its hard to know how to escape the things you put into the placeholdes?