Path: | docs/XML |
Last Update: | Wed Nov 06 06:02:26 UTC 2002 |
amrita can be used with XML as well as HTML.
amrita’s HTML parser was developed very ad hoc way. I have found no major problem with it yet , but I think it’s good idea to have an option for XML: a strictly defined standard.
amrita produces xhtml output from xhtml template.
amrita has a little code depend upon HTML’s DTD(tag structure), and they can be detached easily. So any XML(not XHTML) document can be used as a template with amrita.
REXML has very natural API for ruby. And it is easy to make model datas for amrita from XML documents read by REXML.
see docs/Tour2