view misc/biotopes/main.template @ 18:d53cd4995bd4

Remember the return code of the last parsed instruction.
author Mikhail Kryshen <mikhail@kryshen.net>
date Thu, 26 Mar 2009 17:18:31 +0300
parents 6c41a0b43e58
children
line wrap: on
line source

<%!:
  <%prepare:biotope_sql <%read\biotope.sql%>%>
  <%prepare:photo_sql <%read\photo.sql%>%>
  <%prepare:class_sql <%read\class.sql%>%>
  <%prepare:plant_sql <%read\plant.sql%>%>

  <%query:biotope_sql [%\<%write:<%db\code%>.xml <%include\biotope.template%>%> %]%>

  <%write:classes.xml <%include\classes.template%>%>
  <%write:plants.xml <%include\plants.template%>%>
%>