|
From: Sergio A. K. <ser...@ho...> - 2002-03-30 01:23:49
|
hi dieter,
how about storing the accounting menu in a xml file ?
(and ideally using a xsl stylesheet to transform it in html)
(a step forward to separate the perl code from the html code)
something like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<menu>
<name>AR</name>
<choice>
<label>Add Transaction</label>
<module>ar</module>
<action>add</action>
</choice>
<choice>
....
</menu>
there are many good xml parsers for perl.
/sergio
|